Links supplied by WP take me to 404 page
-
Your .htaccess probably got borked up somehow.
That’s what I thought (after reading the documentation). So I created an .htaccess file and gave it the proper permissions and waited an hour or so, but the problem remains.
Can you tell me specifically what I should do to the .htaccess file, or how it should read?
Thanks,
move-your-bodyyou created an .htaccess and waited an hour? for what? Magic? Gnomes? God?
WordPress doesnt do anything to your .htaccess unless you tell it to — you need to regenerate your permalinks.
You do that by visiting setting/permalinks or whatever its called now in the wp-admin area. Look around, you will find it.
I guess if I had to choose, I would choose Magic, thanx for asking 🙂
Seriously, though, even though I’ve changed the write permission for the .htaccess file to GROUP (as per Codex instructions), I am still getting this message at the bottom of my Settings>Permalinks page:
If your .htaccess file were writable, we could do this automatically, but it isn’t so these are the mod_rewrite rules you should have in your .htaccess file. Click in the field and press CTRL + a to select all.<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>What should I try next?
Thanks,
move-your-bodyAs whooami stated before you, anytime you make a change in the .htaccess file, you need to have WordPress regenerate your permalinks since the structure may have changed.
And exactly how do I do that? I searched the codex for “regenerate permalinks” but didn’t understand the results. Could you give me a step by step on this?
Thanks.
all you do is click the submit button .. what exactly are you having trouble with?
if it cannot write to your .htaccess it provides the code, and YOU have to copy and paste that into your .htaccess
(this is pretty basic crap here)
you even said this:
Seriously, though, even though I’ve changed the write permission for the .htaccess file to GROUP (as per Codex instructions), I am still getting this message at the bottom of my Settings>Permalinks page:
If your .htaccess file were writable, we could do this automatically, but it isn’t so these are the mod_rewrite rules you should have in your .htaccess file. Click in the field and press CTRL + a to select all.<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>Why wouldnt your next step to do the obvious, follow the instructions, and edit your own .htaccess?
You sound more technical than me. Thanks for your help.
technical? Its like reading a map, ffs.
- The topic ‘Links supplied by WP take me to 404 page’ is closed to new replies.
(@move-your-body)
15 years, 10 months ago
My WP blog is installed and working at: http://www.move-your-body.tv. But the links to Comments, Continue Reading, etc (seemingly any supplied by WP) takes me to a 404 page. How can I get them to be functional?
Thanks,
move-your-body