Everything went well, the site was functional. However, in order to get better viewership on search engines, I was told to change the permalinks to something like post name. So I did. When I change it from default to post name, I get the 404 the requested URL not found on site along with the title of my post. When I switch it back to default, it works, but all I get is something like my domain name/?=p397
I’ve looked around on fixes, but I haven’t been able to find the cause. We’ve setup a DocumentRoot. Our .httpd.conf is actually apache2.conf, but it seems to be configured properly. We have two .htaccess, one in the /var/www directory and one in /var/www/sportsBlog/wordpress/. In the wordpress directory, we added some gibberish to the .htaccess to ensure it is reading and it is. It’s weird because when I change the structure of the permalinks in settings, WordPress tells me update my .htaccess because it isn’t writeable. This is what I have in the .htaccess
Options +FollowSymLinks +MultiViews
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
I’ve also have deactivated every plugin and I tried changing themes, but alas I get the same 404 issues. In case it’s useful, I’m using the “Asteroid” theme. I was hopeful I was going to be able to figure it out myself, but I am quite lost what to do next. My buddy isn’t sure exactly what to do either. If anyone has any has encountered these issues or have any possible solutions, it’d be greatly appreciated.
Thank you very much
]]>I went into Permalink Settings, applied the code /%postname%/ to the Custom Structure field. Then, I get a message I need to update web.config and my site breaks.
Restoring the permalinks to default fixes my site.
I don’t see any web.config file in the WordPress directory. What folder would it be under and what do I need to modify in it?
Why does my site not just update the links without this step? Thanks!
]]>Now, if I change the setting to any of the others, say https://domain.com/blog/2011/04/sample-post/, my pages link all work but my categories links give me a Error 404 – Page Not Found
If I now keep the setting as https://domain.com/blog/2011/04/sample-post/, then go to the Permalink Migration and add in /%category% as my Old permalink, well that causes my categories links to work but now my pages link give me the Error 404 – Page Not Found
Any ideas? Thanks.
]]>thanks in advance
]]>