WAMP local server giving 404s for pages
Hi, I'm using WAMP to develop a client website on my computer before I go live with it.
I've set the server up correctly and have no trouble getting the dashboard and my changes to the Atahualpa settings to work. I'm using a static page for the home page, and am using pages rather than posts for the rest of the site. However, when I click on the page links (other than the home page), I'm getting 404 errors. Any idea what's going wrong here? Thanks! |
what have you got your permalinks set to? if other than default, try switching back to default.
Also try it with the default theme |
I followed the procedure in the Codex at
http://codex.wordpress.org/Creating_a_Static_Front_Page so in step 3, I set the permalinks to /%pagetitle% though I admit to totally guessing what that tag should be since I can't find any reference to it! (You'd think they'd tell you on that page, right?) So do you still recommend I go back to the default settings? I don't want to mess up the static pages. Thanks! |
go back to dashboard->settings->permalinks->Common Settings and select "Default' and try it that way.
|
Yes, that got the pages to come up. Thanks.
However, the default setting for permalinks isn't so good for SEO purposes. Any chance we can get around that? Another thing that I don't "get" is that the page "name" comes up as the title (H1) on the page - which also looks odd. But I do want a title on the page, just not the name of the page. Really appreciate your help! THANKS. |
try creating an htaccess file
|
Okay, I just created an empty .htaccess file.
What should I do next? |
on my MAMP server I have the htaccess file in the wordpress directory - it should be wrtiabel so wordpress can change it when you change the permalinks. Below is what I have in mine - this is copied from the web I do not know HTACCESS so I can't explain it all to you - check the web for that info
I run on a mac so the '/~userid/yoursite/index.php' is pointing to the folder 'yoursite' that is in the 'sites' folder of my user 'userid' (it's actually not 'userid', it is myname) here is the htaccess file HTML Code:
# ========================================================== |
YIKES - that's pretty scary! ;-)
I'll have a look at this in the morning and see if I can make any sense of it - I TRULY appreciate your reply and I will be back ... Cheers and best. |
All times are GMT -6. The time now is 01:14 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.