Reputation: 559
I have a wordpress website at http://www.wjewel.com/ . All the pages of the website are getting redirected to home page. There is no .htaccess file or web.config file for redirections. Can someone please guide me what could be the reason for this issue.
Upvotes: 4
Views: 30245
Reputation: 151
fixed
I had a similar problem.
But only some selected pages were redirecting to home. And these pages which were redirecting worked on page no. permalink setting.
Tried everything as mentioned above, nothing worked.
I cleared my browser cache and it was all good again.
Upvotes: 0
Reputation: 310
Old question but I had the same issue and tried all solutions with no luck. Even deleting htaccess didn't work. I changed my settings to set latest posts as my homepage and then changed it to the desired page and that did the trick (at least for now)
Upvotes: 0
Reputation: 465
I had this issue today and found that Yoast SEO have a permalinks setting which had two of my pages listed as redirect to home page.
I don't recall myself setting them up, but thankfully there was a button to delete those pages from that list.
Upvotes: 1
Reputation: 912
Redirection is done on client side. You have this meta tag in the html head
.
<meta HTTP-EQUIV="REFRESH" content="0; url=http://www.wjewel.com">
(It has nothing to do with PHP headers)
I'd try to look for plugins injecting that meta tag or theme header.
Also just an observation - html body
on /about/ page (for example) is empty.
Upvotes: 1
Reputation: 179
Resetting the permalinks within WordPress will resolve this issue.
To reset the permalinks for your WordPress installation:
Upvotes: 6