Jump to content

im not sure whether this is possible or not...


dbradbury

Recommended Posts

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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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"

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.