Help Changing URL For SEO Purposes

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Maccsta
Regular
Posts: 77
Joined: Mon Feb 19, 2007 6:07 am
Location: Leeds, England

Help Changing URL For SEO Purposes

Post by Maccsta »

Hi!

For SEO purposes I want to get all my blog posts shortened from:

mydomain.com/index.php?/archives/252-HOT-NEW-BLOG-PRODUCTS.html

to:

mydomain.com/252/HOT-NEW-BLOG-PRODUCTS


I’ve change Permalink settings to achieve:

mydomain.com/index.php?/252/HOT-NEW-BLOG -PRODUCTS

But how do I get rid of the “index.php?” I want to do this for static pages & categories as well.

This is a 2 year old blog so are there any precautions I need to take? I’ve already installed the “HTML Link Metatags” plug-in to avoid duplicate content for where Google is concerned

Thanks for any help :)
Check out this blog today!
Buy Eye Secrets strips.
Best devices reviewed at http://www.penisstretchers.org/.
Order Capsiplex slimming pills today.
Buy Meratol diet pills online.
abdussamad
Regular
Posts: 117
Joined: Fri Apr 21, 2006 10:11 pm
Location: Karachi, Pakistan
Contact:

Re: Help Changing URL For SEO Purposes

Post by abdussamad »

You will need to enable apache mod_rewrite. Go to serendipity admin page > configuration > appearance and options> URL rewriting and select mod_rewrite from the list box and click on the check & save button. Serendipity will then attempt to write a .htaccess file . You may need to enable write permissions for it.
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: Help Changing URL For SEO Purposes

Post by Don Chambers »

You may also want to read this thread.
=Don=
Maccsta
Regular
Posts: 77
Joined: Mon Feb 19, 2007 6:07 am
Location: Leeds, England

Re: Help Changing URL For SEO Purposes

Post by Maccsta »

Thanks Don & abdussamad for the replies :)

I have my blog post urls looking how I wish now. However how do I keep old URLs alive through redirection?

What code would I need to add to my htaccess file to redirect to the old blog urls to the new urls?
Check out this blog today!
Buy Eye Secrets strips.
Best devices reviewed at http://www.penisstretchers.org/.
Order Capsiplex slimming pills today.
Buy Meratol diet pills online.
abdussamad
Regular
Posts: 117
Joined: Fri Apr 21, 2006 10:11 pm
Location: Karachi, Pakistan
Contact:

Re: Help Changing URL For SEO Purposes

Post by abdussamad »

Maccsta wrote:Thanks Don & abdussamad for the replies :)

I have my blog post urls looking how I wish now. However how do I keep old URLs alive through redirection?

What code would I need to add to my htaccess file to redirect to the old blog urls to the new urls?
The old URLs will also work.
Maccsta
Regular
Posts: 77
Joined: Mon Feb 19, 2007 6:07 am
Location: Leeds, England

Re: Help Changing URL For SEO Purposes

Post by Maccsta »

abdussamad wrote:
Maccsta wrote:Thanks Don & abdussamad for the replies :)

I have my blog post urls looking how I wish now. However how do I keep old URLs alive through redirection?

What code would I need to add to my htaccess file to redirect to the old blog urls to the new urls?
The old URLs will also work.
They do yeah, but I'd rather re-direct them to the new version of the URL.

Posts that are indexed in google currently just go to the old URL.
Check out this blog today!
Buy Eye Secrets strips.
Best devices reviewed at http://www.penisstretchers.org/.
Order Capsiplex slimming pills today.
Buy Meratol diet pills online.
Post Reply