Home › Forums › WordPress Plugins › Hide My WP › Wpengine install
- This topic has 4 replies, 2 voices, and was last updated 11 years, 3 months ago by HiveRocks.
-
AuthorPosts
-
September 12, 2013 at 4:41 pm #102HiveRocksPost count: 2
Hello,
I am very glad that I have purchased this plugin, however I have been yet to use it.
After reading EVERYTHING many times and working with 2 experts, I have no choice but to ask you specifically for the answers.
Exactly, What are the 7 redirects that need to be set up for this to work at Wpengine.
I have not installed wordpress or any plugins in any subdirectory other than normal.
thank you
September 13, 2013 at 9:47 am #104HassanPost count: 955Hello,
WPE uses Nginx web server and it has no htaccess file. Instead, Nginx users should have write access to Nginx config file. WPEngine does not allow this but you can add Nginx rules via redirect section in your WPEngine panel.
First click on Nginx configuration in Start tab. If you don’t see it go to following address:
http://domain-wp.com/wp-admin/options-general.php?page=hide_my_wp&nginx_config=1
(In multi-site add &nginx_config=1 to the end HMWP settings URL)Next, go to ‘Redirection’ menu in your WPE panel and add each line of Nginx configuration rules as a redirection rule. Source and destination separated with a space. First is source and second is destination. Use โbreakโ type as โlastโ.
Read more below (see last example):
http://support.wpengine.com/redirect/September 13, 2013 at 10:32 am #105HiveRocksPost count: 2Hello Hassan,
Thank you for your reply.
Is this correct ๐
Name: Redirect catch all
Domain: mydomain.com
Source: ^/template/lib/(.*)
Match args:
Destination: /wp-includes/$1
Redirect type: 301Name: Redirect catch all
Domain: mydomain.com
Source: ^/storage/(.*)
Match args:
Destination: /wp-content/uploads/$1
Redirect type: 301Name: Redirect catch all
Domain: mydomain.com
Source: ^/ext/aa405a34/(.*)
Match args:
Destination: /wp-content/plugins/akismet/$1
Redirect type: 301Name: Redirect catch all
Domain: mydomain.com
Source: ^/ajax
Match args:
Destination: /wp-admin/admin-ajax.php
Redirect type: 301Name: Redirect catch all
Domain: mydomain.com
Source: ^/(readme\.html|wp-includes/$)
Match args:
Destination: /nothing_404_404
Redirect type: 301Name: Redirect catch all
Domain: mydomain.com
Source: ^/(index\.php|wp-content/repair\.php|index
Match args:
Destination: /$1$2
Redirect type: 301Name: Redirect catch all
Domain: mydomain.com
Source: ^/(.*).php$
Match args:
Destination: /nothing_404_404
Redirect type: 301best regards,
roy
September 13, 2013 at 10:38 am #106HassanPost count: 955Yes, it seems correct just change Redirect type to break.
September 18, 2013 at 3:04 am #115HiveRocksPost count: 2Thank you ๐
-
AuthorPosts
You must be logged in to reply to this topic.