Removed and Reinstalled WordPress, Redirect Broken now

change this line in your index.php on root from require(‘./wordpress/wp-blog-header.php’); to require(‘./wdps/wp-blog-header.php’); then make an .htaccess file on root like this: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /wdps/ RewriteRule ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /wdps/index.php [L] </IfModule> # END WordPress

What is the best way to insert links indepently of the permalink structure?

When writing html in the code, if you use <a href=”https://wordpress.stackexchange.com/questions/111843/<?php echo get_permalink(123); ?>”></a> The url outputted is http://www.site.com?p=123 if you deactive pretty permalinks or, if you active pretty permalinks it change automatically according to your permalink structure. You never have to hardcoding url in Worpress when writing html in plugin / template files. If … Read more

permalink repeated

You sound like you are multisite which I don’t use but if this were a single site install I would tell you to remove blog/ from WP_SITEURL.

Tag URLs load a single post

G.M.’s comment was correct – this was a plugin issue. A legacy pagination plugin (“Multipage Toolkit”) I’d replaced from the old install was hijacking permalinks. The plugin was no longer necessary as WP supports pagination natively. I removed the old plugin, reset permalinks again, and all was well.

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