WordPress and htaccess
-
I am currently working on a htaccess file for my site http://www.pandaandpenguin.com
I currently have the htaccess redirecting 1 IP to a custom 403.
I have the following in my htaccess, so far.
Options +FollowSymlinks RewriteEngine on RewriteCond %{REMOTE_HOST} xx\.xxx\.xx RewriteRule \.php$ http://www.pandaandpenguin.com/errors/403error.html/[R=301,L]I am also wanting to redirect one of my pages to a new page. The forums page in my userbar I will need to link to http://www.pandaandpenguin.com/forum
I am not sure what the code for this is, or how to implement the code with what I have to make them still both work. I just learned about htaccess today, and have very little/no coding knowledge. Thanks in advance for your help!
P.S. My IP redirect works fine alone.
I just tried the following code with no prevail:
RewriteCond %{QUERY_STRING} ^page_id=180$ RewriteRule ^/page.php$ http://www.pandaandpenguin.com/forum? [L,R=301]I added to the code that was already there, tried replacing the IP redirect with it just to see if it works, and neither way worked.
The topic ‘WordPress and htaccess’ is closed to new replies.