URL changes - making it Google friendly

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mjseaden
Forum Contributor
Posts: 458
Joined: Wed Mar 17, 2004 5:49 am

URL changes - making it Google friendly

Post by mjseaden »

Hi,

I'm thinking of changing URLs on my site from

http://www.mysite.biz/property/costa-bl ... ia/villa36

to something like

http://www.mysite.biz/property/costa-bl ... ia.villa36

instead.

Can anyone tell me how I get the old form URLs to redirect with the 'permenently moved' status, so that the search engines can reindex properly (I cannot use mod_rewrite).

Many thanks

Mark
hongco
Forum Contributor
Posts: 186
Joined: Sun Feb 20, 2005 2:49 pm

Post by hongco »

if you search for mod rewrite, you would find lots of info for what you needed.
mjseaden
Forum Contributor
Posts: 458
Joined: Wed Mar 17, 2004 5:49 am

Post by mjseaden »

Hongco,

When I say I can't use mod_rewrite, I mean it is disabled for my shared hosting. Therefore I'm posting on here to find an alternative.

If anyone has any possible solutions I would be grateful.

Many thanks

Mark
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

maybe a specialized 404 handler?
Post Reply