I am using Book Your Travel wordpress theme, when I changed permalinks structure from default to postname, the URL automatically started showing wrong page (destinations) instead of going to homepage, here is my link I am talking about: http://gtu.innerdiv.com/
If I set permalinks structure to default, then it works fine (homepage get load)
I've checked the .htaccess file, it contains wordpress basic htaccess rules.
Related
My site Permalinks structure is: /%post_id%/%postname%/
/%post_id%/
and
/%post_id%/%postname%/
are working correctly and showing the same content
I want to redirect every link with
/%post_id%/ structure
to
/%post_id%/%postname%/ structure without change Permalinks structure
Is there any way to do that using WordPress plugin or htaccess code?
The problem has been solved using Redirection plugin
permalink settings
Redirections plugin settings
I worked for a few days on XAMPP with a wordpress platform. After I bought a domain, I decided to use Duplicator plugin to transfer my whole wordpress snap to the new server. Everything is working just fine except for one single thing: whenever I go to my website, instead of visiting the actual page that should be "www.example.com/welcome" it redirects automatically to "www.example.com/wordpress". I made some research about it and discovered that usually wp is installed in a wordpress directory, but I completely made sure that:
on htaccess there is no /wordpress directory url
on index.php there is no /wordpress directory url
on wp-config there is no /wordpress directory both on SITE-URL and HOME
made sure that on the wp-admin config panel in the General section, the URLs are both set to the root directory.
For some unexplicable reason, everything is working fine, www.example.com/shop works for example, but if I set from the customization panel a page like "www.example.com/dummy" as homepage, then THAT page won't be found because it automatically redirects "dummy" to "/wordpress" which of course does not exist. You can type www.example.com and be redirected to www.example.com/wordpress and the same thing happens if you type www.example.com/dummy, since now that should be the homepage.
Can anyone explain me why is this happening? I searched everywhere but I can't find an answer.
I'm using the Storefront theme and Woocommerce plugin if that might help.
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?
We have migrated our WP site to new hosting and since then one section using custom content types manager is throwing a 404. The other ~4 work correctly.
I have cleared the plugin's cache and imported the .json file correctly.
When I change the permalinks to default from post name they load properly. Any idea on how to get this section working?
I guess the problem you're facing on Post name permalinks. Save that option again. If it not working,
select custom structure and give index.php as a prefix
eg: /index.php/%postname%/
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.