WordPress permalink gives 404 after copy paste - wordpress

I'm using utf8 urls (Hebrew) and encountered a weird behavior.
Reaching the website and browsing between pages works perfectly.
But copying the url and pasting it to a different tab will get you to a 404 page.
Also all links that are indexed by google shows 404 errors
This problem occurs only on the woo-commerce category links and i should mention that im using a plugin to remove the category base from the url.
How can i solve this ?
You can view the behavior on http://thj.360.co.il/

You may need to update your permalink structure again in settings. Just save the page again so it updates htaccess.

Pay attention that the link in hebrew parsed differently from the link that works:
WORKING LINK:
http://thj.360.co.il/%d7%98%d7%91%d7%a2%d7%95%d7%aa-%d7%99%d7%94%d7%9c%d7%95%d7%9e%d7%99%d7%9d/
NOT WORKING LINK:
http://thj.360.co.il/%D7%98%D7%91%D7%A2%D7%95%D7%AA-%D7%99%D7%94%D7%9C%D7%95%D7%9E%D7%99%D7%9D/
As you see in the second link all the letters are capitalized...

Related

Broken “Edit Page” Link on Wordpress Admin Bar

(Having to re-post this issue as the url was not showing correctly in the original post.)
I have a multisite Wordpress installation into which I had imported several sites. All is working fine except for the "Edit Page" link in the Admin Bar. It is using the html "&" instead of "&" in the url:
(update - I am having to include the url as an image, since stackoverlow keeps automatically converting the html '&" to "&".) See an image of the url here
In the image, note the issue after "post=32"
I have created several multisite installations successfully and have never seen this. I have tried disabling all plugins to no avail and have spent hours scouring google for a similar issue but haven't found it.
Any help would be greatly appreciated!
I would start by looking at the database to see if there's an extra ampersand in the title or slug of the posts.

Wordpress - /page/2 not working but /?paged=2 is

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. :)

Wordpress pages with numbers in url

I've found strange problem in my blog. Google index one page with several URLs:
example:
Main page:
http://www.example.com/2011/05/11/title/
Google add this too:
http://www.example.com/2011/05/11/title/1/
http://www.example.com/2011/05/11/title/2/
http://www.example.com/2011/05/11/title/3/
etc.
It is same pages. When I open source code of http://www.example.com/2011/05/11/title/1/ page I see same url in canonical header (with /1/)!
I've tried to disabled all plugins, but I see pages with numbers /1/ still and I see this url in canonical tag. Looks like it is no plugin problem.
I can use any number but not letters: example /1a/ - 404
Why it is happen? How to fix it? How to use original url in canonical header?
Please try to change permalink from admin under setting.
Go to wp dashboard then locate and click "settings > permalinks" then choose other format .

get variable from a wordpress permalink

i have this wp page that display the preview of the products and once click it will send to the other page with full details of the product. Actually this worked on not pretty permalink but hopefully trying to make it search engine friendly
preview page:
http://localhost/phone/brand
full page:
http://localhost/phone/specs
sample link:
NOKIA-3210
Then specs/full page will get the "nokia-3210" string from the url to use in the wp query. but this redirect me to 404 page.
How can I go about fixing this? I've read that this can be fixed using .htaccess also rewrite_api, I'm lil confuse what to use. Any help to point me to the right direction?
I've never done this but I would guess some changes in the htaccess file would be required to force all visits onto the specs page itself and not treat nokia-3210 as a post/page.

Redirect Error in Wordpress

I have one website which was working perfectly then for adding meta tags and all, I have SEO-ULTIMATE plugin.
By mistake I have added Title, so my url also changed after it.
So to change it back to again what I have changed the direct url,
And then also it was not coming properly.
So i changed in redirection the new url was coming, So i changed to old one.
But then also its coming error "Redirection Loop Error".
Then i tired to remove that page which was giving problem.
And again created new page with the same name.
But now i m again trying to give the same url but its not able to give, and its coming like "page-2". but that also not able to retrive that page.
try to use this plugin http://wordpress.org/extend/plugins/custom-permalinks/ I use it when I want to change specific post/page permalink. This should work for you too.
Yes Nikola, I have tried the same.
I deleted page from trash and from the database also.
Now its working fine. Thanks for replay. :)

Resources