Jump to content

Wordpress & WHMCS issue with admin area


Recommended Posts

Hi.

 

After move my site to wordpress .htaccess on my Apache installation broke access to admin area.

 

My Admin area has a personalized name. (dotcom)

 

#Redirect my domains
RewriteEngine on
RewriteEngine on
RewriteCond %{HTTP_HOST} ^tamainut.es [OR]
RewriteCond %{HTTP_HOST} ^tamainut.org [OR]
RewriteCond %{HTTPS_HOST} ^tamainut.es [OR]
RewriteCond %{HTTPS_HOST} ^tamainut.org [OR]
RewriteCond %{HTTP_HOST} ^wikired.es [OR]
RewriteCond %{HTTPS_HOST} ^wikired.es
RewriteRule ^(.*)$ https://tamainut.com/$1 [R=permanent,L]

# 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

# Begin WHMCS
Options +FollowSymlinks


#Rewrite the URL for WHMCS to always use https except for the whmcs/dl.php file
RewriteCond %{REQUEST_URI} !^/intranet/dl.php [NC]
RewriteCond %{REQUEST_URI} ^/intranet/ [NC]
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^(.*)$ https://tamainut.com/intranet/$1 [R=301,L]


#Rewrite the URL for WHMCS dl area to always use http
RewriteCond %{REQUEST_URI} ^/intranet/dl.php [NC]
RewriteCond %{SERVER_PORT} !^80$
RewriteRule ^(.*)$ http://tamainut.com.com/intranet/$1 [R=301,L]


# END WHMCS



# Ither rules for image and cache optimization

 

Well.. Intranet work for users, but https://tamainut.com/intranet/dotcom/ show 404 error

 

Apreciate help.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated