Wordpress redirect to similar link - wordpress

I have a problem
in wordpress that some links are redirected, even existing myite.com/page/item1
redirects to meusite.com.br/item-1
ignoring that there is a link to page / item-1
I accept help and appreciate personal attention.

It seems like you shifted your WordPress form one server to another.
Please go to setting and change permalinks to default then save it.

Related

How to redirect a subpage of one website to another domain?

My question is simple, let's say there is a website created by WordPress with its URL:cuaauc.com, and it has so many sub-pages, including one named cuaauc.com/contact/. I would like to redirect the cuaauc.com/contact/ to other content from my external domain test.com. I understand how to direct cuaauc.com to test.com, but I am not sure how to do the subpage situation.
Please give me some advice, or tell me if this is impossible to work out.
If you just what to set the link for the navigation item in your wordpress site (so that the button 'contact' directs to an external page), you can do this in wordpress backend under Design -> Menus and make the menu item an individual link and set the url.
You can also make a page-template (page-yourpage.php) and set the redirecting in your php file or include (php include or via iframe) the content of your target contact page.
There are also more ways to achieve this.
If you like you can write a little bit more about what you are exactly trying to achieve and why you want to have the contact page being seperated. This way the we can give you better help and can decide which method suits your needs best.
You can use a plugin called Redirection.
After Install an Activate plugin, go to Tools > Redirection
If you are using first time this plugin, you may have to set up this plugin by simply a few clicks.
Then you can add new Redirections rule by click on Add New button.

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 page URL goes to wrong page

I have a weird issue. I am still somewhat new to WordPress and I have an issue that has me stumped.
I have been working on a site created by another developer. I have been fixing the site map by making sure that pages have the appropriate parents and proper permalinks.
I have a situation where I have a page with the following permalink:
http://passaicschools.org/school-no-2/anti-bullying-info/
The problem is that this link takes me to a different page with a different permalink:
http://passaicschools.org/school-no-1/anti-bullying-info/
I can't seem to figure out what is going on here. You can even type in the first url and it "redirects" (it looks like a redirect but I am not using that term in a technical sense).
Can anyone point me in the right direction on this?
Thanks in advance...
I had a similar issue where I created a services page and when I added it to the top menu it kept automatically redirecting to the blog page.
All the permalinks were fine and nothing was set to have a parent page. I read an above comment and tried a reverse effect of actually giving the services page a parent (I made it the blog page it was automatically redirecting to) and then it went to the services page perfectly fine!
I'm not sure how or why this worked but it fixed the issue so I'll worry about permalink aesthetic later haha
go to settings and then pages then set to link path

Wordpress redirect old permalink structure to new

Could you help me with the following predicament? I'd like to change the permalink structure of my website from the current one
/%category%/%postname%/
to
/%category%/%post_id%/
in a way so that the old publications could still be reachable through the old links?
Thank you in advance!
First, you need to 100% sure you want to make this change to your site because it will probably have an impact on your SEO, positive or negative.
Once you change your permalinks have been changed your WordPress installation will update all the links itself, however, links in the menu or any hardcoded links you will need to change yourself.
But to answer your question, you are best using 301 Redirects allowing anybody who happens to stumble across an old link make it to the correct page / post. There is a plugin that can achieve this called Simple 301 Redirects. The authors of this plugin note:
It's especially handy when you migrate a site to WordPress and can't preserve your URL structure.
This is a fair case for 301 Redirects. However, with Search Engines this is beyond your control unfortunatly. You will need to resubmit your XML site map.

Wordpress - Page Aliasing

I don't know why I am having difficulties finding an answer for this, but I was. I am hoping it's quick and painless.
This is my first attempt at a WordPress site. I created a number of pages which reside in a standard navigation. Currently the nav links look like such:
?page_id=2
I want link to be friendly such as:
/restaurant/
I went into the permalinks and tried messing around with the options and I got the URLs to change but on click I get a 404. What am I doing wrong?
two things i could think of
Wordpress can't write the .htaccess file (a warning should be displayed on the permalink page). In that case update it by hand with code shown on the site.
mod_rewrite is disabled on your server http://httpd.apache.org/docs/current/mod/mod_rewrite.html

Resources