I want to add some information that probably is vital:
If I connect from my internal IP on the server the links work, but not the front page.
When I go to your site, everything seems to work. Did you fix it since posting this message?
No, that is the live site from my old server. Can not have the broken site live.
OK, then
1. Make sure you support .htaccess
In your virtual host config for the site, add these three lines
<Directory /path/to/wordpress/docroot>
AllowOverride All>
</Directory>
then restart httpd
2. Check your internal links to make sure they match the domain.
Use the plugin “better search replace” to search for http://wrongdomain
and replace with http://rightdomain
.
Thanks for the advice. I will try that.
Hi Steve Stern
Could you please explain what /docroot is?
As for your: “<Directory /path/to/wordpress/docroot>”
I did put in /var/www/html/wordpress/ where the wordpress installation is done but I do not get the “docroot” directive
Thanks
where the wordpress installation is done
Exactly.
I tried to follow your directions.
The paths are exactly the same as in my old server.
At my host service provider I have a DNS pointing to my fixed IP and also a redirect to my new servers host name, which is “thailand4”. All this works fine with both servers.
All the links should be the same since the path is exactly the same but I checked it anyway.
This is what I have checked.
In database wp-options and wp-qss the links are correct
The links in virtual thailand4.conf are correct. Thailand4.config is activated, apache restarted.
I added the three lines:
<Directory /var/www/html/wordpress/>
AllowOverride All
</Directory>
Permalinks checked, OK and I saved it one extra time.
I can not use the plugin since I never used any other domain path, have nothing to search for.
The problem persists.
Please post a link to the “broken” site.
OK but then I must cut the live site server, they both have same fixed IP. Can do that for a short time.
http://thailand4.net
How about 20 minutes? Let me know if you need more.
Start NOW
The menu links work for me.
REALLY. Try again. I see NO reason why it should not work for me, or do you have one?
I tried my mobile too. Do not work.
I tried in an incognito window so cache would not be an issue. It works for me. What happens if you try from outside your network?