• Hi everyone,

    I know this a well documented subject, I’ve been googling all day and have yet to find a solution that helps me out.

    Sine migrating from my local host to a live server my permalinks have stopped working… they now produce 404’s. I did a find and replace for all localhost URLs with my live address in the SQL and all local files. Imported DB and uploaded files etc etc but it just never worked.

    My .htaccess is being written by wordpress… after editing my custom structure to /%category%/%postname%/ (as it was in my local setup) my .htaccess looks like so:

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

    Please, if anyone can help I’m in need of it…

Viewing 1 replies (of 1 total)
  • Thread Starter Ojay

    (@ojay)

    Does anybody know of a way I can ‘reset’ wordpress’ permalinks?

    Simply setting it to default and then back to custom doesn’t work, I wonder if I could upload a fresh php file from a freshly unpacked wordpress.zip would do anything?

    Any ideas from anyone would be greatly appreciated…

Viewing 1 replies (of 1 total)
  • The topic ‘Permalinks produce 404’s – local to live server migration’ is closed to new replies.