Forum Moderators: phranque

Message Too Old, No Replies

How to modify .htaccess and change name of folders?

         

toplisek

4:51 pm on Dec 29, 2008 (gmt 0)

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



How to modify .htaccess and change name of folders?

jdMorgan

4:54 pm on Dec 29, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Please explain your purpose and/or goal in detail.

What are your trying to do?

Thanks,
Jim

toplisek

8:34 pm on Dec 29, 2008 (gmt 0)

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



Simple:I have some other language folders and need to fix names that will be seen for SEO friendly names. Ranking depends if it is other language.

jdMorgan

8:57 pm on Dec 29, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



1) Change the links on your pages to point to the new SEO-friendly URLs.

2) Internally rewrite requests for those friendly URLs, when they arrive at your server, to return content from the "unfriendly" internal filepaths (which are the same as before).

3) Optionally, externally redirect *only* direct client requests for the old unfriendly URLs, to the new friendly URLs. Do not redirect requests for unfriendly filepaths that are requested as the result of step 2 above.

Notice that before changing to using SEO-friendly URLs on your pages, your URLs and your filenames were "almost the same thing." After changing those URLs, they are no longer similar to the associated server filepaths, and mod_rewrite is used to 'map' the new URLs to the old filepaths.

Making the distinction that a URL is not a filename is very helpful in understanding the process.

See the details in this previous thread [webmasterworld.com] from our library [webmasterworld.com].

Jim

toplisek

9:19 pm on Dec 29, 2008 (gmt 0)

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



Hi,
I have managed to change friendly URL, but need to change just folder names. How can be simple to change english folder name go to german folder start.