Barış Ünver
Member
Posted 5 years ago #
First of all, I need a brief answer, because I can't speak or read English very well. This is the answer to the question "Why didn't you search?"
Post permalinks are fine, but page permalinks are a mess. After I changed my domain and hosting, this problem started to appear when I try to create a new page. Let me show you:
- Go to http://www.beyn.org (not English)
- Click on a permalink of a post. It works.
- Click on ".ben" on the Flash menu - nice theme, huh? I made it (:
- It appears http://www.beyn.org/?page_id=2 on the address bar, right?
- Click on the permalink of the page. http://www.beyn.org/about works finely. That's because I filled it before changing the host.
- Now click on ".gel" on the Flash menu.
- It will now appear ...org/?page_id=574 which works fine, but when you click on the permalink of the page (...org/arabeni or ...org/ara-beni) does not work this time, you will get a Turkish 404 error. That's because I created it after changing the host.
So, what would your advice be?
Did you re-create your .htaccess file and re-set your permalinks AFTER moving to new domain and new server?
Barış Ünver
Member
Posted 5 years ago #
Yes, I did. I tried to remove the contents of .htaccess, then let WordPress fill it, but somehow WP could not fill it. My .htaccess contents:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Barış Ünver
Member
Posted 5 years ago #
Any suggestions everyone? I expected higher speed of replies, but whaddayogonnado...
Barış Ünver
Member
Posted 5 years ago #
All right, I'm not expecting answers to be fast anymore, answer whenever you want, but please, answer! There has to be someone who knows the solution of this problem!
I'm trying to understand the issue... You're saying that the page permalinks don't work, but other permalinks do?
You wouldn't happen to be on an IIS (Windows) host, would you? My fiance runs WP on IIS and ran into all kinds of chaos trying to get his Permalinks to work.
Barış Ünver
Member
Posted 5 years ago #
Otto, yes, that's right. Nitallica, no, I'm running my blog on a Linux server.
Barış Ünver
Member
Posted 5 years ago #
Problem solved!
I was checking the phpMyAdmin tables about the UTW plugin, then I realized that wp_options table is a mess! I couldn't believe it and started to clean it up. Then I remembered the problem I talked about in this topic. I checked the problem again, and saw it's been resolved! And yes, I've been checking whether the problem is magically solved "every day".
My advice to everyone: Even if you think you don't have any problems in WordPress, do some cleanup with phpMyAdmin. Plugins really turn that table into a dump.
journey89
Member
Posted 4 years ago #
Hi!
I've got same problem today! With NO reason my pages started to not show up with nice permalinks. I change the permalink structure not once, but it still didn't work! Then I looked at forum and found this topic. I looked into my .htaccess file and saw it has no code such like this:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
When I added it into file, saved, updated permalink strucutre to nice ones and checked pages, it worked! :D Thanks!