Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I don't know anything about coding, but I really want to change the URL of my pages:

  • site/data/9/Symbian-3rd-Apps.html to site/symbian_applications.html
  • site/data/file/352/Core-Video-Player-Symbian-3rd--sisx.html to site/Core-Video-Player-Symbian-3rd--sisx.html
share|improve this question

migrated from stackoverflow.com Mar 31 '13 at 19:33

This question came from our site for professional and enthusiast programmers.

add comment

2 Answers 2

This topic on Stack Overflow may be useful: how to change URL using .htaccess.

share|improve this answer
add comment

The easiest way to change a URL in .htaccess is to rename the file to the new name and then put in command to redirect the old URL to the new.

So first your would rename site/data/9/Symbian-3rd-Apps.html to site/symbian_applications.html. Then you would put the following redirect rule in .htaccess (with your actual domain name rather than example.com):

redirect permanent site/data/9/Symbian-3rd-Apps.html http://example.com/site/symbian_applications.html
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.