Viewing 8 replies - 1 through 8 (of 8 total)
  • Moderator t-p

    (@t-p)

    In settings, you need to make changes in setting section. In settings, go to Permalinks and check to Post name. It will be done.

    If you change a Pretty Permalink in WordPress, the old URL will not automatically redirect to the new URL. This means that if someone tries to access the old URL, they will receive a 404 error.

    To avoid this, you can set up a redirect from the old URL to the new URL using a plugin such as Redirection. This will ensure that anyone trying to access the old URL is automatically redirected to the new URL, and you can preserve any search engine rankings and incoming links to the old URL.

    Here is the guide for Understanding and Optimizing WordPress Permalinks for Better SEO

    You can use this tool for redirection. :- https://www.ads-software.com/plugins/redirection/

    Thread Starter Andrew Bondar

    (@kronos1705)

    @wpgeniustech, thank you for your reply!

    While waiting for help from the community, I tried to set up links on a test site and this is what I got: from /old-page/ there is a 301 redirect to /new-page/ (without using third-party plugins; maybe the hosting provider settings help me with this ).

    @kronos1705 feel free to reachout to the hosting provider.

    Hosting providers can often provide tools or configurations that allow you to set up redirects without using a third-party plugin. This can vary depending on the hosting provider, but many offer either a web-based control panel, an .htaccess file, or other tools that you can use to set up redirects.

    It’s also worth checking your hosting provider’s documentation or reaching out to their support team to see what options they offer for setting up redirects. They may have specific instructions or limitations that you need to follow.

    Alternatively, you can set up a redirect manually by adding the following code to your .htaccess file:

    Redirect 301 /old-page/ /new-page/

    Place this code at the top of your .htaccess file, before any other code or rules. You’ll need to replace “/old-page/” with the actual URL of the page you want to redirect from, and “/new-page/” with the URL of the page you want to redirect to.

    Keep in mind that changes to your .htaccess file can affect the functionality of your website, so it’s important to make a backup before making any changes, and to test the changes thoroughly before deploying to a live site.

    301 redirects are a type of HTTP status code that indicate a permanent redirect from one URL to another. By returning a 301 status code, you are telling search engines and browsers that the content has moved permanently and they should update their index to reflect this change.

    @kronos1705 You can use .htaccess to redirect without using third-party plugins.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘What happens after the Pretty Permalink changes?’ is closed to new replies.