Forum Moderators: phranque

Message Too Old, No Replies

.htaccess help

         

pigi

5:13 pm on Mar 8, 2010 (gmt 0)

10+ Year Member



I have url "http://www.domain.com/index.php/site/lt/about-us"

I want remove word "site" from url.

I want change to:
"http://www.domain.com/index.php/lt/about-us"

Please, help me.

g1smd

7:34 pm on Mar 8, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



You need to link to those new URLs from the pages of your site.

Additionally, set up a new redirect from the old to new URLs. This will fix links that searchengines have already indexed.

I assume you have a rewrite currently taking the old URL requests and fetching content. Adjust that rewrite to that it works for the new URL requests.