changing a url with mod_rewrite

Discuss practical ways rearrange URLs using mod_rewrite.

changing a url with mod_rewrite

Postby emrldwpn » Sun Jun 27, 2004 12:02 pm

i have a site at http://www.lyricallysquared.com/
right now all the urls are setup like http://www.lyricallysquared.com/viewartist/Finch - is there a way i can change this to work under just http://www.lyricallysquared.com/Finch ? thanks for any help
emrldwpn
 
Posts: 1
Joined: Sun Jun 27, 2004 11:58 am

Re: changing a url with mod_rewrite

Postby Guest » Wed Jul 14, 2004 3:00 pm

emrldwpn wrote:i have a site at http://www.lyricallysquared.com/
right now all the urls are setup like http://www.lyricallysquared.com/viewartist/Finch - is there a way i can change this to work under just http://www.lyricallysquared.com/Finch ? thanks for any help

through 404 error
Guest
 

Postby seomike » Thu Jul 15, 2004 9:27 pm

I wouldn't use a 404. instead use a 301 redirect so that search engines will pass page scores

#htaccess file code

redirect 301 /viewartist/Finch http://www.lyricallysquared.com/Finch
seomike
 
Posts: 331
Joined: Thu May 06, 2004 7:36 pm
Location: Dallas


Return to Friendly URLs with Mod_Rewrite

Who is online

Users browsing this forum: No registered users and 115 guests

cron