ftonelli
Member
Posted 2 years ago #
I just changed the permalinks to the "Day and name" one in the common settings but now when I click on a post in my blog it opens another window in my browser with the correct new link but the browser cannot find the post.
Here is my blog:
http://www.francescotonelli.com/blog/
Here is an example of the new permalink not working:
http://www.francescotonelli.com/blog/2010/02/25/new-blog-goes-live/
What could be wrong?
Should I change the .htaccess? If yes could someone explain how would I go about doing it?
Thank you,
Francesco
Hi,
Set your desired permalink from wordpress admin area and add this code in htaccess:
# BEGIN WordPress
<IfModule mod_rewrite.c>
ErrorDocument 404 /index.php?error=404
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
After that have a check with old posts and pages of your blog.
Thanks,
Shane G.
ftonelli
Member
Posted 2 years ago #
Thank you Shane, but I don't know where to find the htaccess.
I cannot see it under SETTINGS or TOOLS or EDITOR in my control panel.
Can you please help me find where it is?
Thank you,
Francesco
ftonelli
Member
Posted 2 years ago #
I think I figured it out. I copied and pasted your string of text using my FTP program and text edit in the .htaccess file on the root of my blog.
However now when I click on a link it gives me the following warning to upgrade to flash player:
"Francesco Tonelli Photography
If you see this page, you may need to
upgrade your Flash Player.
Javascript must be enabled to see this site.
Download the latest Flash player from Adobe. You may bypass the detection if you wish.
You may also view the HTML version of this site."
I did the upgrade but still gives me the same warning.
Here is a link to one of my permalinks:
http://www.francescotonelli.com/blog/2010/02/24/gnocchi-alla-romana/
Can someone help me understand what's going on?
Thank you,
Francesco
ftonelli
Member
Posted 2 years ago #
OK I figure it out again.
The text you sent me was causing that flash problem. I change dit with the one suggested in the permalinks of my WP settings and now everything seems to work.
Thank you for your help.
Francesco