Dynadot โ€” .com Registration $8.99

.htaccess for /page/yoursite

Spaceship Spaceship
Watch
Impact
0
I've been wondering, how do you use .htaccess to switch a site (Like index.com/?page=home to index.com/home/ ?
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
0
•••
Just for people new to the Apache access file, usually known by its default name .htaccess, Apache advise against using it due to performance and security issues:

http://httpd.apache.org/docs/2.2/howto/htaccess.html#when

If you have no option then you are stuck with it but these days it doesn't cost much to get your own server, particularly "cloud" servers, and if you're serious about your sites then you should do so anyway. Then you can configure the main Apache configuration file any way you like!
 
0
•••
Just switching the .htaccess is not going to work. You might also have to fix the code to work with the new URL structure. EX: Image paths, CSS, JS etc should have proper or full path.
 
0
•••
Appraise.net
Unstoppable Domains
Domain Recover
NameMaxi - Your Domain Has Buyers
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back