dbradbury Posted April 7, 2010 Share Posted April 7, 2010 if i make a page that has a url link in it like this ...com/lyrics/a/anastacia does that mean i need each to be a folder in the previous before the slash? or can i direct it somewhere else? as my old url used to be l=a&a=anastacia can they be changed? Quote Link to comment Share on other sites More sharing options...
br0ken Posted April 7, 2010 Share Posted April 7, 2010 You could use mod_rewrite (assuming you're using Linux/Apache) to rewrite your URL's. You could rewrite the following URL structure: .com?l=LETTER&a=ARTIST to .com/LETTER/ARTIST Google mod_rewrite and you should find what you're looking for Quote Link to comment Share on other sites More sharing options...
dbradbury Posted April 7, 2010 Author Share Posted April 7, 2010 You could use mod_rewrite (assuming you're using Linux/Apache) to rewrite your URL's. You could rewrite the following URL structure: .com?l=LETTER&a=ARTIST to .com/LETTER/ARTIST Google mod_rewrite and you should find what you're looking for ah, that only work for linux/apache? Quote Link to comment Share on other sites More sharing options...
br0ken Posted April 7, 2010 Share Posted April 7, 2010 It might work for Apache on Windows but I'm not entirely sure as I only use a LAMP setup. I also read that there was a mod_rewrite implementation for IIS but again, my knowledge is limited to Linux. Try googling "mod_rewrite Windows" or "mod_rewrite IIS" Quote Link to comment Share on other sites More sharing options...
dbradbury Posted April 7, 2010 Author Share Posted April 7, 2010 cant see anything, and it looks rather complicated from what i do see lol ill leave it for now lol Quote Link to comment Share on other sites More sharing options...
br0ken Posted April 7, 2010 Share Posted April 7, 2010 Another option (I did this a few years ago) is to write a publishing script that goes through each of your pages and publishes a static file for each. You can have them published in the URL structure you desire (LETTER/ARTIST). Then, on your current URL's, you simply add a 301 redirect (permanent redirect) to the new static HTML page. Eventually, Google will forget about your old URL's and you can remove your legacy script. Quote Link to comment Share on other sites More sharing options...
dbradbury Posted April 7, 2010 Author Share Posted April 7, 2010 sounds a bit too advanced for me lol but thanks for the ideas when im a bit for confident with my php, i shall try that Quote Link to comment 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.