|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Search Engine Optimization Forum SEO is much easier with help from peers and experts! The WebProWorld SEO forum is for the discussion and exploration of various search engine optimization topics. Any non (engine) specific SEO or SEM topics should go here. |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hello,
I have a .htaccess file and this is the code: ----------------------- RewriteEngine on RewriteRule ^site/(.*)$ site.php?id=$1 RewriteRule ^downloads/(.*)$ search.php?keywords=$1 RewriteRule ^downloads/(.*)/(.*)$ search.php?keywords=$1_$2 RewriteRule ^download/(.*)/(.*)$ search.php?keywords=$1&page=$2 RewriteRule ^review/(.*)$ review.php?d=$1 RewriteRule ^edit/(.*)$ edit.php?d=$1 RewriteRule ^refer/(.*)$ refer.php?d=$1 IndexIgnore * Redirect http://mysite.com/s/ http://mysite.com/s/create.php RewriteEngine On RewriteCond %{HTTP_HOST} ^www\.mysite\.com$ [NC] RewriteRule ^(.*)$ http://mysite.com/$1 [R=301,L] ----------------------------- ( mysite.com is not my site. ) I have checked the links in a popular "search engine friendly redirect check tool" and it shows that all my links are 302 and are not SE friendly. I wish to make all these redirections 301. I have placed [R=301] at the end of all the lines above, but it didn't worked. Please tell me how to make the links as 301 and search engine friendly. Thanks a lot.
__________________
Free Clickbank Mall, Search Box & Ads - Earn up to 75% Commission Top Downloads Popular eBooks Last edited by crush123; 06-27-2007 at 01:47 PM. |
|
|||
|
Hello wige,
I wish all the links of my pages to be 301 redirects. when I check for example : Software - 1 to 10 of 694 Downloads it is giving 302 status rather than 301 same case with other redirections in the .htaccess So, somebody please tell me how to make all my links to show 301 Thank you
__________________
Free Clickbank Mall, Search Box & Ads - Earn up to 75% Commission Top Downloads Popular eBooks Last edited by crush123; 06-27-2007 at 02:32 PM. |
|
||||
|
Quote:
__________________
The best way to learn anything, is to question everything. |
|
||||
|
Maybe you can find some tips on the tutorial I published recently:
SEO Workers Tutorial: Search Engine Friendly Permanent Redirects
__________________
"Being an expert isn't telling other people what you know. It's understanding what questions to ask, and flexibly applying your knowledge to the specific situation at hand. Being an expert means providing sensible, highly contextual direction." Jeff Atwood SEO Workers - Search Engine Optimization Consulting Company | SEO Analysis Tool | Webnauts Net SEO |
|
|||
|
Pls excuse my ignorance, but what exactl is a "301 redirect". I keep hearing about it, but don't really know what it is.
Thanks magic42 |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| help regarding .htaccess file | SES Trims | Search Engine Optimization Forum | 1 | 12-26-2006 08:48 PM |
| help regarding .htaccess file | SES Trims | Google Discussion Forum | 3 | 12-08-2006 06:59 PM |
| a .htaccess question (redirection) | effisk | Web Programming Discussion Forum | 20 | 09-02-2005 01:11 PM |
| .htaccess redirection | mantawebsolutions | Search Engine Optimization Forum | 7 | 09-09-2004 07:18 AM |
| .htaccess file creation help... please | WebCraft | Web Programming Discussion Forum | 3 | 10-28-2003 09:26 PM |
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |