WordPermalink not working after server tran - wordpress

I've transferred our website http://www.pacificluxuryliving.com from powweb to godaddy. It's a wordpress based website.
The problem is the pretty permalink is not working. It shows 404 error. Interestingly, If I add new post or new page, the permalink work. But all old permalinks not working. I can edit old pages and change the permalink (from edit page). If I change the old permalink to new one, then it also work.
I disabled pretty permalink + deleted .htaccess file. Then enabled pretty permalink from wp admin > settings > permalinks (it automatically restored .htaccess);
Tried many other ways, but nothing worked.
Thanks,
Farhad

Check the following
Do you have mod_rewrite enabled?
Do you have any caching Plugins? If yes then disable them.
Is FollowSymLinks option enabled?
Also post the contents of your .htaccess file and the pretty permalink format that you want to use.

Related

wordpress and permalink not updating

I have to tried to update the permalink in my wordpress site to be post name. I have have .htaccess file uploaded and permission set to 777. However, when I updated the permalink in wordpress it still said :
If your .htaccess file were writable, we could do this automatically,
but it isn’t so these are the mod_rewrite rules you should have in
your .htaccess file. Click in the field and press CTRL + a to select
all.
If you access to website now (https://www.pata.org/store) and go to any page, it will show up 404 not found page.
One more thing, the website is based on Woocommerce latest version, I am not sure if that is the reason.
Has anybody ever experienced this?

wordpress .htaccess & .htpasswd issue

I have a strange issue here. My client site is suspended due to spam messages by one.com. After deleting the comments, the technical support guy told me to generate .htaccess and .htpasswd file by using one.com's support page and upload it into root. Deleted old files and uploaded the new files a per the supporting guy. But site shown an internal error, then the technical guy said 'delete' both files and try. Then the home page is loading but inner pages showing 404 error.
Anyone here have a solution for this? this is the site http://www.jayabhattacharjirose.com/
Thanks in Advance
This is a problem with permalinks. Try the one of the following three solutions.
1: Set your Permalinks back to default, if things start working as expected then try re-setting Permalinks back to what you want.
2: Try going in your Dashboard to Settings > Permalinks. You don't need to change anything on the Permalinks page, but just click Save Changes at the bottom. Then check your site to see if that fixed it.
3: Try changing options on the Permalinks page if you want to change the way the URL looks from p=### to the /date/page format or others.
Reset your permalink to default and then again set it your required permalink structure so that WordPress creates a new required .htaccess file for it.
And if you have backup of your project then try to use the old .htaccess file.

Permalink Redirect from /%postname%/ to /%postname%.html in Wordpress Hosted Blog

I've just changed my permalinks from /%postname%/ to /%postname%.html
So, links which are in /%postname%/ are showing 404 error.
I want to redirect those links to /%postname%.html in order to avoid 404 error page.
Changing the permalink settings with extension will effect only in posts, not in pages. In many instances like this I always use this plugin http://www.introsites.co.uk/wordpress/html-on-pages-plugin.html, it is a short plugin and editable, you can change the extension (.html) to many other like: .asp, .shtml, etc.
But please note: if you do an edit to your permalink setting please deactivate the plugin and activated it again when your done. Because if you change the permalink setting and didn't deactivate and activate this plugin all the page will appear as not found.
You can see the plugin stats http://wordpress.org/extend/plugins/html-on-pages/stats/ to see how many people used the plugin.

Wordpress permalinks problem

I changed my wordpress permalinks to %pagname%. Prior to doing this i posted two blog entries (the site is brand new). My static pages navigate fine after the changes but when you click on my posts you get 404'd. Has anyone else had this problem? Thanks.
isn't the permalink structure supposed to be
/%postname%/
with that the posts will have a nice url, and not using pagename, or pagname as you have it?
Open your .htaccess file and check if anything is written, if so highlight it all and delete it, wordpress will fall back to the original default state,
then within the admin->settings->permalink section select custom and paste in that, and click save, if wordpress reloads the page and the htaccess info is pinned to the bottom of the page then copy and paste that to your .htaccess file, if its not then its been written to your file already...
You probably fixed it by now, but try adding "/%postname%/" after "/%pagename%/. I was having the same problem but changed mine to read /%pagename%/%postname%/ and it seems to work now.
check .htaccess file permission has 777
I did like that and works.
Reset your permalinks and make sure .htaccess is writable: Using Permalinks « WordPress Codex
Check your apache configuration and verify that for the directory in which you store your Wordpress installation you have following settings enabled (probably there will be more, but you need at least these):
<Directory var/www/>
FollowSymLinks
AllowOverride All
</Directory>

Need help changing Permalinks in Wordpress, I've tried everything

I am having problems getting my Permalinks changed with my Wordpress instance. I have about 5 blog posts which were created using the default "postid" permalinks. I am now trying to change my permalink to %postname% but I cannot get it to work. Any time I change the Permalinks in Wordpress all my old posts throw 404s. I have tried 4 Wordpress Permalink plugins to resolve this issue but I cannot get any of them to work. I have also updated my blog's .htaccess file to include the necessary information. Finally I deleted all my original posts and changed the Permalink, then recreated them and it still did not work. Please help, I don't know what else to try! Thanks
Be sure there is only one wordpress rewrite block in .htaccess. And you may need to go into the wp_options table in the database with phpmyadmin and clear the permalink setting there. Once in a while permalink settings get "stuck" in the wp_options table and wordpress can't write the new setting to the database, even though WP writes the changes to the .htaccess file. Database Description « WordPress Codex
Edit 3/03/10
Turned out to be mostly CentOS not playing nice with Wordpress Permalinks, but there are documented fixes via Google.
Edit 3/02/10
If your .htaccess is writable and changes are being saved and you can see them, then permalink_structure field in wp_options should not be blank. Did you disable and delete all plugins relating to permalinks and start from scratch? Are you on Windows or Linux hosting?
I had the exact same issue, and it's subtle. The apache directives need to go in a <Directory> container. If you are like me, you had your directive in a <Location> container, thinking that <Location /> would cover the entire site from the root, recursively.
This did the trick:
<Directory /path/to/wordpress>
AllowOverride All
Options FollowSymLinks
</Directory>
Use deans permalink migration plugin and you will easily change your permalink structure without breaking any links within a minute. This plugin is a life saver for those who are thinking of changing default permalink structure and thinking of migrating from blogspot blog to self-hosted blog.
I know this is an old thread but I ran into this issue last night. I found a post here http://www.mobiledataup.com/fix-wordpress-permalink-404-error-with-centos-6/
which was very help and fixed the probem for me.
There was an extra section that had options to turn on AllowOverride.
Worked like a charm.
Reading this article will help a lot with permissions and PHP handlers. I had some of the problems here... just thought I'd share it
http://www.itsabhik.com/how-to-increase-size-of-var-tmp-centos/

Resources