.htaccess redirect

Custom URLs and redirections.

.htaccess redirect

Postby d4funky1 » Sun Aug 03, 2008 2:56 pm

Hi,

You did some excellent work for me today but there is one thing that i need replacing / adding.

In my previous .htaccess I had the following rewrite:

Code: Select all
RewriteCond %{SERVER_PORT} ^443$
RewriteRule ^robots.txt$ robots_ssl.txt


Which prevented all search engine bots from indexing my https pages.

After checking this I can see that this doesn't work anymore?

Can you add this to the .htaccess or tell me how to do it as i've submitted the sitemaps.php to google and would like this sorting before they come crawling.

Thanks
D4
d4funky1
 
Posts: 16
Joined: Sat Aug 02, 2008 3:57 pm

Re: .htaccess redirect

Postby ~J~ » Sun Aug 03, 2008 3:00 pm

You can place both lines into new .htaccess file after RewriteBase line.
Magic SEO URLs are now available for
osCommerce, CRE Loaded, Zen Cart, PrestaShop, OpenCart, CubeCart, phpBB and phpBB3!
~J~
InveoStore.com Founder
 
Posts: 1055
Joined: Sat Feb 02, 2008 11:07 am
Location: Prague, Central Europe

Re: .htaccess redirect

Postby d4funky1 » Sun Aug 03, 2008 3:29 pm

Hi,

Thanks for that - all works fine
d4funky1
 
Posts: 16
Joined: Sat Aug 02, 2008 3:57 pm


Return to Custom Rewrite Rules

Who is online

Users browsing this forum: No registered users and 1 guest