Home Site work perfect. I made new Site Contact and the site show 404 Error. Why?
I cannot understand it
My .htaccess
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
# add a trailing slash to /wp-admin
RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ – [L]
RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
RewriteRule ^(.*\.php)$ $1 [L]
RewriteRule . index.php [L]
</IfModule>
# END WordPress
I’m trying to restore my site to another server. Permalinks are broken even after I:
1) Reset permalinks to “Default”,
2) Remove the .htaccess file in the “Site Address”
3) Set back to the desired permalinks
4) Ensure the .htaccess is updated
5) Check that .htaccess is the DocumentRoot together with index.php
6) Check that “Options FollowSymLinks” and “AllowOverride All” are set in apache configuration.
Any help on this will save my headaches
/chunsing
]]>I am just starting to set up a new site with wordpress (www.esperanto-heidelberg.de). At some point I decided to changed the permalinks setting and then my site became “forbidden”. I deleted the .htaccess in the root folder of wordpress (following my provider’s instructions) and the site became available again, but I couldn’t get to any of the individual pages or posts when I clicked on the title.
I also tryed assigning the rights by means of a FTP client, as instructed by my provider, and that wouldn’t do it either. Everytime I try to set the permalinks back to default (it is not really that important to have it the way I want it), a new .htaccess file is generated in the root directory and the page goes back to be “forbidden”.
Can someone please throw some light on this?
Thank you all very much.
]]>After numerous searches and multiple passes through the documentation, I am at the end of my rope with permalinks not working.
I checked with my server admin, that all the config requirments are met in Apache, and coded the .htaccess myself with:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /my_blog/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /my_blog/index.php [L]
</IfModule>
# END WordPress
When I access a single post by following the result for the_permalink()
, I do not get a 404, but rather an empty doc. View source gives only
<html></html>
Anything else I can try?
thanks,
pfgs
Any ideas?
]]>When trying to setting permalinks, the followings happened:
– Select “Date and name based” and click “Update Permalink Structure”
– It then said “Permalink structure updated.”
– But, nothing happened to the .htaccess file; it remains blank
– Also, no display of recommended .htacess entries
– All articles remain in WP’s default ugly URLs
– When tried the “Custom Structure” option, the text area for it refused me to type any enties into it (doesn’t accept any input into it!)
Last attempt was changing the .htaccess with the following entries:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
Still, permalinks doesn’t work at all.
Did I do anything wrong?
Do I need a permalink plugin for making it works?
Any suggestions will be higly appreciated.
Thank you.