Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

How to rebuild WordPress permalinks WordPress

  • SOLVED

See this for background info:

[[LINK href="http://www.wpquestions.com/question/showLoggedIn/id/7313"]]http://www.wpquestions.com/question/showLoggedIn/id/7313[[/LINK]]

So if I now have a few thousand posts (just imported from another blog), and I change the structure of the permalinks, and suddenly all the pages on the site give 404 errors, what is the easiest way to rebuild all the perma-links?

Answers (3)

2012-09-25

Michael Caputo answers:

Go to Settings > Permalinks, and click save changes.

Make sure you choose the correct permalink structure.


Lawrence Krubner comments:

I tried that several times, but it does not work.

2012-09-25

Plugarized answers:

Choose default permalink and save, then choose the new permalink structure, for best seo try /%postname%/ or /%category%/%postname%/ and save again

Then check the .htacess to see if it is like the following

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress


Plugarized comments:

If you have wordpress SEO, try deactivating it deleting it then reupload it, also flush your browser and the wp cache if any.

Very often is due to wordpress seo


Plugarized comments:

The following usually works also:

Go to Settings > Permalinks and click "Save Settings"
Go to SEO > Permalinks and click "Save Settings"


Lawrence Krubner comments:

Nice call. The .htaccess file was missing. Fixed.

2012-09-25

Abdelhadi Touil answers:

Make your .htaccess writable (chmod to 777) via FTP, and then go to permalink setting and resave it, and test if it's working. If everything is ok rechange .htaccess chmod to 644 again.
Good luck.