![]() |
Wordpress, .htaccess, and mod rewrite question
Hello. I have some issues with the mod_rewrite. My situation is i have domain like so with wordpress being installed on the tld www.domain.com. I have .php pages though, that i cant import into wordpress, they are like so www.domain.com/1/page.php, www.domain.com/2/page.php, and so on. I would like to rewrite those .php extensions into .html or .htm. My problem is when i add this rules
Options +FollowSymlinks RewriteEngine on RewriteRule ^(.*)\.htm$ $1.php [NC] it doesnt work and i cant log into my wordpress backend. I added that to the .htaccess file on the root level, and didnt touch any of the other wordpress stuff. Anyone know how to properly do this? |
I'd attempt to use the pages feature in WordPress if possible, maybe specific 301s if it is just a few pages I want to go elsewhere without losing SEO juice.
|
Try asking your host support to help you with your problems.
|
Quote:
http://www.domain.com/site.php will work as http://www.domain.com/site.html as well as dirs http://www.domain.com/directory/sammy.php will work as http://www.domain.com/directory/sammy.html Code:
Options +FollowSymLinks |
Quote:
:error |
Quote:
|
thats it thanks thread closed.:thumbsup
|
Quote:
|
Quote:
|
All times are GMT -7. The time now is 01:25 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc