Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other [Solved] Changing permalinks on fresh WP install won’t work Re: [Solved] Changing permalinks on fresh WP install won’t work

#69112
Johnnyb
Member

Thanks for the replies guys.


@TheDoc
, I’m developing the site for the company I work for so I’ll have to check with the guy who deals with the hosting to find out whether or not it’s possible. Thanks for the advice though, if anything else comes to mind then let me know!


@clokey2k
, it doesn’t tell me that it wrote to the .htaccess, it simply says ‘Permalink structure updated’ once I save changes. When I create a new post it tells me that it’s permalink is ‘http://localhost/ax/category/postname/’ which is what I want, however when I go to that page it throws a 404 error at me. The .htaccess file is currently as follows:


# BEGIN WordPress

RewriteEngine On
RewriteBase /ax/
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /ax/index.php [L]


# END WordPress

I’m not too proficient in editing this file, I tried replacing the last Rewrite Rule to read RewriteRule . /ax/%category%/%postname%/ [L] but that didn’t help. (ax is my WordPress root directory). Can you advise me on how I should edit this file?

Many thanks in advance again, I really appreciate you guys’ help on this.