.htaccess redirect

Custom URLs and redirections.
d4funky1
Posts: 16
Joined: Sat Aug 02, 2008 4:57 pm

.htaccess redirect

Postby d4funky1 » Sun Aug 03, 2008 3: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

inveo
Inveo Support
Posts: 1285
Joined: Sat Feb 02, 2008 12:07 pm
Contact:

Re: .htaccess redirect

Postby inveo » Sun Aug 03, 2008 4:00 pm

You can place both lines into new .htaccess file after RewriteBase line.

d4funky1
Posts: 16
Joined: Sat Aug 02, 2008 4:57 pm

Re: .htaccess redirect

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

Hi,

Thanks for that - all works fine