Home links redirects to old site

First back up your database. It is always wise to do that before doing anything. Now download and install Velvet Blues Update URLs plugin. Enter your old URL (like http://example.se/www.example.se) and new URL (like http://www.example.com) and select all options and click Update. Also update your permalinks afterward. This should sort your problem

Cannot access subdirectory subpages

Finally fixed this errow after browsing for a couple of hours and trying many options. In this block in your Apache httpd.conf file, (located in my CentOS instance at $ sudo vi /etc/httpd/conf/httpd.conf) # # AllowOverride controls what directives may be placed in .htaccess files. # It can be “All”, “None”, or any combination of … Read more

How do I reset a rewrite?

.htaccess rules are interpreted and applied on every request, they don’t linger on server level and changes apply immediately. However if you had had 301 redirect set up then it can be cached by browser very aggressively. I do not observe redirect you are describing, so that is likely the case. Note that your home … Read more

Change root directory

Why do you want to use .htaccess to do this? Why not just move to the new URL? Alternatives include adding something similar to one of the following to your .htaccess file (note the 301 “permanently moved” code being sent back to the browser in both cases): RedirectMatch 301 /e /wp or <IfModule mod_rewrite.c> RewriteEngine … Read more

WordPress permalinks confusion

It is the way the .htaccess wordpress generatea instructs apache to work on the wordpress directories The relevant parts from the default .htaccess RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] The first line will cause the rewrite engine to bail out if there is a file with the same name as the … Read more

Multiple wordpress installations on same server

Your .htaccess file needs to be updated as follows (change the obvious parts for site3): # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /site2/ RewriteRule ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /site2/index.php [L] </IfModule> # END WordPress I was having similar issues and saw that whenever I would log in … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)