Developing on localhost remove “index.php”

What you have locally is called PATHINFO permalinks. It is quite rare configuration since permalinks are either “pretty” (what you have live) or “ugly” (no rewrite at all, GET requests). It is hard to guess why you ended up with PATHINFO configuration if you haven’t deliberately configured it. Might you have used some tool to … Read more

Redirecting DNS without breaking everything

1) You have to change all references of www.mydomain.com to mysite.com in WP. WP will only respond to the hostname/url that it was configured for. If you make a request with a different url, WP will respond with an error message. WP stores the url in two places wp-config.php and the database. In wp-config.php just … Read more

Moving a wordpress.org website to another domain name?

Here is my solution. First download this file. Then follow these steps. In shortly Backup/download your database. Upload it to your new site. Copy all wordpress folder including wp-admin,wp-content etc from your old site to new one. Edit the downloaded php file, change the password. you need to change the password in this line. define(‘DDWPDC_PASSWORD’, … Read more

Does WordPress Strip Away the WWW from a Web Address

WordPress will always redirect to the canonical URL of the content if you try to access a page not with its canonical url. If you installed wordpress without using a www then wordpress will assume that the root url for the install is without www. Or in other words, wordpress is not actively removing www, … Read more

Sorry, you are not allowed to access this page dashboard

Try to deactivate all your activated plugins 🙂 mainly your security plugins installed like wordfence. Check your .htaccess file, and your .htaccess file should look like – ‘ # 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 … Read more