Jump to content

.htaccess combine help with WordPress


ded

Recommended Posts

I am about to convert a website into WordPress.  However, the current htaccess file has information for directory locks.  When that one is in place, the "OFFICIALS LOGIN" page works fine but the WordPress website does not.  When I move the WordPress one in place, the WordPress website works fine but the "OFFICIALS LOGIN" page comes up as NOT FOUND.

 

How would I combine the take to make everything work?

 

htacess 1

<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>

RewriteEngine on

RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^aa_darts/forum/?(.*)$ "http\:\/\/www\.website\.com\/forum\/$1" [R=301,L]

AuthName dartswdf.com
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
php_value memory_limit 32M

 

htaccess 2

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

Link to comment
https://forums.phpfreaks.com/topic/221534-htaccess-combine-help-with-wordpress/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.