I created a category in WordPress and I gave to this category the url of my blog page. It gave me a 404 error so i deleted the category. The problem is that now my blog page redirect to my homepage.
I don't know how to start . Any idea of what to do ?
You can start by ensuring the blog page is different from the homepage in dashboard->settings->reading
In your admin dashboard, go to Settings > Permalinks and make note of the current setting since you need to temporarily change it. Select the Plain radio button and click Save Changes at the bottom of the page.
Once saved, click the previous pretty permalink option you had and click Save Changes one more time.
Your permalink settings have been reset and you can check your blog page. You shouldn’t see any more 404 errors. Please check the blog page in other browser to prevent also the cache.
Related
I am new to WordPress and followed instructions to link a page to a menu item but it's not working. I go to Dashboard>Appearance>Menus. I check the About page on the left and click Add to Menu. It shows up on the right. I click Save Menu.
I go to the main site (www.tekknow.net), click on the About menu item, and it says "This page isn't working". Suggestions?
EDIT: The field values in Settings > General are
Wordpress Address (URL): http://tekknow.net
Site Address (URL): http://tekknow.net
The permalink setting is now set to Post Name and the About menu item now shows tekknow.net/about in the URL but still getting error. This time error is "This page isn't working - ERR_TOO_MANY_REDIRECTS". I googled that error and found this informative page: https://kinsta.com/blog/err_too_many_redirects/ but nothing I tried would fix it.
I've cleared the cookies, deactivated all plugins, can see no redirect to HTTP or https in the .htaccess file, resaved the permalinks, yet the error persists.
Please help!
I contacted my HostGator support and they solved the problem. Had to delete the About page, recreate it, re-add it to the menu. Then it worked! Something about the original About page that came with the twentyseventeen theme that it didn't like. Horrible first experience with WordPress.
I have a WordPress theme which contains multiple pages one is a contact page, I didn't like this contact page so created another page so the old page
The problem:
What do I need to do solve this problem?
You have to change the permalinks for the specified page.
For that , Go to the pages section and select your desired page from wordpress admin dashboard
Now in the right side, click on permalinks option and update your slug in the url-slug box
Hopefully , That'd resolve your proble
I am trying to set my shop page as a homepage for site. It's an easy action in wp-admin. The problem that I am getting message No products were found matching your request.
At the same time everything OK on shopPage.
I've tried to play with visibility, categories, attributes but still can't customize them properly. I believe, there should be some settings I've missed.
Homepage set to shop page - http://52.58.27.104/
Usual shop page - http://52.58.27.104/shop
Edit
Setting->Reading
WooCommerce->Settings->Products
Settings->Permalinks
Usually to change the page that shows as default you should login to the admin panel then go to Settings -> Reading -> Static Page and from there pick your site. If that's the way you did it then that will remove the extension off your page like the www.site.com/shop will be www.site.com which now means woocomerce is trying to find a /shop section. You have to change the woocomerce section to select the new page that the items are located. Either one by one or through the woocomerce general settings.
Hope that helps
I have a WordPress site where my front page is showing the latest posts.
If I have my permalinks set as plain showing...
https://example.com/paged?=2
The page loads. However, If I change the permalinks to Post name, giving me...
https://example.com/page/2/
That results in a 404.
.htaccess seems to be set up correctly. The first page has posts and the links are being generated in the pagination controls. Using Post name as the permalink setting my posts are properly linked...
https://example.com/my-wordpress-post
But https://example.com/page/2/ does not work.
Any ideas? I really need to set the permalinks to Post name. Could it be a server issue?
First thing I would recommend is to confirm your .htaccess file is set up correctly to process permalinks. If you create a new page, can you access that page with his human-friendly permalink, for example? If not, you may need to fix your .htaccess file to handle those rewrites properly.
Otherwise, can you provide more context for this issue? Is it safe to assume you have your homepage set up with a list of paginated posts?
I figured this out. Instead of selecting Post Name, I select the Custom Structure radio button instead and manually added /%postname%/ and then clicked saved.
Then it worked. :)
I have a wordpress multi-site:
site1.local.loc [with subdomains on my local] and I would like to have three pages on this.
site1.local.loc/works - (posts page, but I want 'Works' as my title)
site1.local.loc/about - (static page)
site1.local.loc/contact - (static page)
Since 'Works' is my posts page where I keep putting in content, I changed my permalinks for this site to:
/works/%postname%/
However, when clicking on 'view post' at the end of posting anything, it leads me to a '404' page which means there is a disconnect. This is also the case for viewing any page. Is my .htaccess file faulty?
How do I solve this? Also how do I make all my posts appear in my 'Works' page (as in, how to make that page the posts page?)
Thanks!
Updated: I've found out that I get a 404 for any page that I create for a site in a wordpress network.
You do not have to touch .htaccess file.
Make a custom post type that is called works. All those posts made in that custom post type will have that url that you desire. There is no other way to do it. (even if there is, it must be dirty) That is celanest way, and since wp does it by itself you can expect that nothing will go wrong wnen you update, install plugins, etc.
Create a category called "Works" that would then show all posts added to that category by simply going to /works/ all posts would then be shown as /works/post-name/.
You will need to change the permalink structure to /%category%/%postname%/
Check this in administration
Settings > Permalinks > Post name