Bruno Escarim
Member
Posted 7 months ago #
Hello guys,
I was setting up the permalink but i did not realize if i had to configure anything else.
Now home is with the layout broken, i cannot acess wp-admin and all the pages cannot be found (but the permalink shows the way i chose).
I updated .htaccess but nothing happened.
Could you helpe me, please?!
Thanks.
Url to site?
Did you set your permalinks under Settings > Permalinks or did you set a new site url under Settings > General?
What is your permalink structure now?
Bruno Escarim
Member
Posted 7 months ago #
http://blog.asseka.com.br
I did under Settings > Permalinks.
The structure is year/month/name.
Thanks keesiemeijer
Bruno Escarim
Member
Posted 7 months ago #
Yes
I updated the .htaccess files as the instruction but nothing happened.
Do I have to change de mod_rewrite? I dont know how to do that once I cannot access wp-admin.
Read this:
http://codex.wordpress.org/Using_Permalinks
The second half is about permalinks without mod_rewrite and some manual htaccess edits.
compare it to this:
http://codex.wordpress.org/Using_Permalinks#Creating_and_editing_.28.htaccess.29
try
- renaming the .htaccess file or deleting it after a backup of the .htaccess file.
Bruno Escarim
Member
Posted 7 months ago #
I can't enter in the admin panel. The page is not found!
Bruno Escarim
Member
Posted 7 months ago #
I did it last night. I deleted the file, created a new one with the code that is in the tutorial. No results so far.
Bruno, you can't edit htaccess from within WP, only through the control panel of your host, or with certain FTP clients.
Bruno Escarim
Member
Posted 7 months ago #
Yes, i did it, via FTP, but nothing happened.
I mention the WP admin because of the mod_rewrite. Can I change outside wp admin?
Bruno Escarim
Member
Posted 7 months ago #
ok, i restored it.
the layout was recovered, and i can now access the admin.
but anyway, i recovered to standard permalink and then a changed again to the one i liked year/month/name, but did not work!
it does not recognize a post with the new "name"
dude_182
Member
Posted 7 months ago #
I agree permalink can sometimes mess up your page...for bestesonlinekasino visit our portal bonusbonusbonus.de
Bruno Escarim
Member
Posted 7 months ago #
my friend sent it to me and it works in the .haccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^images/(.*)\.png$ /wp-content/plugins/anyfont/img.php [L]
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
WP should edit htaccess for you. Perhaps your rights are a bit too strict? Apparently your server has mod_rewrite, otherwise the permalinks wouldn't have worked. This is again something of the server software, so there's nothing you can do about it from within WP.
Anyway, have a look at the CHMOD of htaccess. It might be helpfull in the future when WP can edit it.