LiamH Posted December 16, 2009 Share Posted December 16, 2009 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 Thanks all Quote Link to comment https://forums.phpfreaks.com/topic/185341-redirecting-dynamic-pages/ Share on other sites More sharing options...
trq Posted December 16, 2009 Share Posted December 16, 2009 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. Quote Link to comment https://forums.phpfreaks.com/topic/185341-redirecting-dynamic-pages/#findComment-978415 Share on other sites More sharing options...
LiamH Posted December 16, 2009 Author Share Posted December 16, 2009 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. Quote Link to comment https://forums.phpfreaks.com/topic/185341-redirecting-dynamic-pages/#findComment-978463 Share on other sites More sharing options...
fenway Posted December 18, 2009 Share Posted December 18, 2009 Sounds like you're talking about mod_rewrite... but still, not here. Quote Link to comment https://forums.phpfreaks.com/topic/185341-redirecting-dynamic-pages/#findComment-979577 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.