Forum Moderators: open

Message Too Old, No Replies

Cloaking without Mod_rewrite

Cloaking without Mod_rewrite

         

uk webmaster

7:59 pm on Apr 1, 2003 (gmt 0)

10+ Year Member



Hello people.

I'm using a Linux server, PHP, MySQL etc. I used to use mod_rewrite on my old host - my new host is exactly the same as my old one, except it does support mod_rewrite. I've tried mod_redirect, but it changes the address in the browser bar. Is there any way to get the same results as mod_rewrite (i.e. keep the simple, desired URL in the bar) without pissing off search engines or using frames?

Nick_W

8:01 pm on Apr 1, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



What's the effect you need?

Just re-writing urls?

Nick

uk webmaster

8:08 pm on Apr 1, 2003 (gmt 0)

10+ Year Member



Hi Nick,

Basically, I have a bunch of dynamic pages:

[domain.com...]

I want people to type in

[domain.com...]

I don't want the browser address bar to say anything other than [domain.com...] . Using mod_rewrite totally worked for me before, even the search engines listed all of my pages.

Nick_W

8:27 pm on Apr 1, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Right. It's pretty simple actually. Just a little .htaccess jiggory pokery and a touch of PHP and you're away.

Search for "search engine frindly urls" over at sitepoint.com - there's a good tutorial on it ;)

Nick

uk webmaster

7:25 am on Apr 2, 2003 (gmt 0)

10+ Year Member



Thanks for pointing me to sitepoint. There are three methods they suggested in their articles - using a custom error page seems to be worth an experiment or two!

Nick_W

7:31 am on Apr 2, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Actually I'd go with the last one ;)

Nick