Jump to content

Recommended Posts

Hi all.

 

First off sorry if this is in the incorrect place.

 

I'm about to upgrade my site from one CMS to another which is better SEO and brings me more features. Most of the articles I have are being transferred onto the new system, but because I have so many only the more popular ones are going to be redirected to their new home to begin with. I've been searching for hours now to try and figure out what I'm doing but no luck.

 

Basically this example page /article.php?ArticleID=614 would need to be redirected to something like /examplepage161209

 

How is this done because I just can't figure it out  :confused:

 

Thanks all

Link to comment
https://forums.phpfreaks.com/topic/185341-redirecting-dynamic-pages/
Share on other sites

Well, for starters it has nothing to do with mysql so you've asked in completely the wrong board. Your issue is solved by your servers configuration and in particular a module for apache called mod_rewrite.

 

Secondly, your example makes little sense as I fail to see how 614 relates at all to 161209.

Well, for starters it has nothing to do with mysql so you've asked in completely the wrong board. Your issue is solved by your servers configuration and in particular a module for apache called mod_rewrite.

 

Secondly, your example makes little sense as I fail to see how 614 relates at all to 161209.

 

the first example is how the URL is currently, the second is how the example URL will look using the new system. The new system uses the articles headline and published date to create the URL.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.