Hi. I have an install of wordpress running under XAMPP and can’t for the life of me figure out why I can’t build a proper link to a page on my template. I’m using a page.php to template the pages and that seems fine, but…
When I look at the permalink references from the Pages section, it indicates I should use the form <http://mysite.local/sample-page/>. Okay…
Weird 1) When I view the page from the admin panel(by clicking the link from the pages panel) , I can see each page just fine, but when I reference them using the link indicated, I *always* get a page not found.
I’ve tried hardcoding the link into my template, used bloginfo(‘url’) with an added hardcoded “/pagename”, you name it. Nothing works properly.
The truly bizarre thing is that when I check the view source, the linked page in my template (whether written via bloginfo or hardcoded) is exactly the same as the one that I can see when I click the link through the admin panel!
How is it that this works when I click the page link through the admin panel, but not when I write out the same url in the template?
Weird 2) When I mouseover the link leading to the page, the status bar shows “<a href=” (ie: doesn’t show the complete path) even when the link to the page is well formed – which I can see when I view source.
Weird 3) the complete block of text I include in my page (via the admin panel) is linked back to the main page… so any click inside that content takes me back to the home page. Why does it do this? When I view the content in plain text format (via the Text tab in the Edit Pages section), there’s no markup – so why does it do this?
I appreciate this is a lot of weirdness to be asking about, but I’ve done due diligence in seeking answers to this and can’t see what the problem is. Thanks (very much!) in advance to whoever can help here.
- The topic ‘Page Not Found’ is closed to new replies.