Change main pages redirect
I recently installed wordpress on my own server and I have chosen Graphene as the theme. My website is served on http://mydomain/wordpress/ (note the trailing slash) using nginX but I found out that, at the top of the page, after the heading with the title, there is a line with the name of the pages. There, I have “Home” and “Sample page”. Then, the problem I have is that the “Home” page links to http://mydomain/wordpress (without the trailing slash) so, nginX gives me a 404 error.
What can I do to solve this? Where can I change the redirection of the “Home” button? I tried to find where to edit something but I don’t have much knowledge of PHP, but if someone can tell me where this redirection is found, I could be able to edit the file myself.
Thanks in advance.
I’m talking about the “Inici” button (Home in English).
When you click Inici, the link takes you to mydomain/wordpress (without the trailing slash at the end) when it should point to mydomain/wordpress/
That’s why I think it would be easier to solve it by changing some php files with the WordPress editor…
Thank you for your attention.
EDIT: it also redirects me to an https, even if i’m connected through plain http.
OH MY GOD. Sorry for the stupidity… As Einstein said,Quote:there are two infinite things: human stupidity and the Universe; and I’m not sure about the former.
I’m a newbie and I couldn’t find how to add things to a custom menu. So I created a custom menu to link the different pages I have in mind to add: About me, about the blog… Now I did it and it works with custom links with custom labels.
With the default menu, it would be easier to add links to different pages since I think that is done automatically, but I don’t mind if I have to add manually after creating these pages…
I’m facing a new problem now. The link of the title of the blog also redirects to mydomain/wordpress (without trailing slash) that gives me a 404 since I need the trailing slash to access the site correctly. Is there any way to change this link’s behaviour?
Thanks Kenneth! Even that I couldn’t resolve the problem as you said, I appreciate your support.
To get that working I made a little “cheat”: I have made the title and subtitle of my page as hidden and the header image has the text written in it (so I uploaded an image with the text embedded). So there is not any link on the title, and so, I don’t have this problem anymore.
Now, I have noticed that, when I ask for an inexistent page, I get the nginX default 404 error, not the graphene theme one. This might be offtopic and I should open another thread, but maybe it’s easy stuff for you and you could give me a hand.
EDIT: I found that, actually, the 404.php page appears but it fastly reloads and goes to the default nginx one.
Thanks for your attention!
You must be logged in to reply to this topic.