![]() For instance, a new blog post covering the same or similar topic, but with relevant information. If you maintain a blog and have an article with a lot of views that is outdated, you can still use that traffic for a more current purpose. If you ditch the old URL entirely, you will probably lose a lot of incoming traffic, especially if your store has been live for some time and has acquired a sizeable audience. In this case, use the 301 permanent redirect so that the old URL will always lead to your new site. You have moved your site to a new domain and you want to preserve the traffic and inbound links to the old one. In that case, you can use that page and redirect any incoming traffic to a related product or your store’s home page. Let’s say you’ve been running a campaign for a discounted product, but that page is no longer available and the campaign is over. Possible scenarios where you might need redirects are: Possible Scenario #1 This gives the user an expected experience and content that is relevant to their initial query. The redirect takes the user to the new page without giving a 404 error ![]() It leads to a page saying “This page is no longer available. The regular flow a user should have with redirects goes like this: Redirecting should not be abused and must be implemented with the user experience being the highest priority. This gives you a clear idea of what redirects do and how to use them to preserve the positions and traffic your old URLs are generating. You can repeat the same commands that we showed you in the first part of the post to setup the URL redirects you need. Try opening the product and see what happens. htaccess Editor and enter:Ĭlick on Save Changes and go to the storefront. Let’s say we want to create a new redirect for the Canon camera demo product. If you go to the SEO Backpack Demo, you will notice a tab in the module settings called File Editor. htaccess file straight from the control panel of the extension, without going through your store files. Let’s check out another way, using an OpenCart extension called SEO Backpack. It’s a good measure against broken links and other pages leading to 404 (Page Missing) errors, which are looked upon with a frown both from users and search engines. htaccess file and reupload it to your server.īasically, that’s how redirects are done using your. When you are done with the commands, save your. com).Įntering this will redirect to the new page of your product whenever a user tries to open the old URL. Important: You must not enter the entire URL of the page you are redirecting, only its URI (meaning the part after. Those commands may give you an idea of how to redirect specific pages of your OpenCart store as well. This command lets you temporarily redirect your site to another domain: There are a lot of cases when you need a temporary redirect to a new page, such as limited-time landing pages for promotional purposes. htaccess file and try to enter your original domain, it will redirect you to the domain you have entered in the command. htaccess file and enter the following command on a new line: Let’s try with a permanent redirect of the entire website. htaccess file that will allow us to create the redirects we need. The file should be located in the public_html folder in your store files:Īs you see, we’ve already renamed the file so you see how it should look like. ![]() To find your htaccess file, open your store files (with FileZilla for example). This installation comes with an htaccess file that needs a minor modification to work. Let’s say you have just installed OpenCart and you have a functioning store. This is a configuration file that is very important to any website. htaccess.txt file that comes with the OpenCart installation. We’ll show you the manual way, which is easy enough for anyone to follow, and how to use an extension to configure your URL redirects. In this post, we will talk about redirecting links in OpenCart. After all, it’s URLs we’re talking about, they matter. This is an exercise that fixes some holes in your site’s user experience and might even give you a slight ranking improvement. All of that leaves some links that need to be redirected to working pages with relevant content. Every website can come at a point where there are a few broken links, some outdated content or removed pages. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |