Nawet najlepszy produkt czy usługa się nie sprzeda, jeśli nikt nie będzie wiedział o jej istnieniu. Pokażę Ci, jak skuteczniej działać w Google Ads, SEO i e-commerce.
I recently wrote about SEO for WordPress using popular plugins such as. RankMath i Yoast . If you’re already creating friendly URLs for existing subpages, however, it’s worth keeping redirects in mind so users (and Google’s robots) don’t get lost on your site. See the easiest way to do 301 redirects.
Table of Contents
Why do you need 301 redirects?
A 301 redirect allows you to move the content of a page to another URL without losing its visibility. When you type www.zielinskijerzy.com/ into your browser, you still end up at zielinskijerzy.com. This way, Google does not treat the two URLs as separate pages and does not detect duplicate content. The same is true for SEO, when you change the URL of a subpage to one that is more friendly to crawlers and users. 301 redirects make the old page address direct to the new one, and the page content is moved. They also work well, for example, when one of your products is no longer available in your offer, and customers who search for it end up on a 404 error page. It is better to redirect them to a category or related product.
Redirection is easy because in WordPress you only need the 301 Redirection plugin to do it. We install and run the plug-in like any other (I described it, for example, in an article on Yoast SEO ). Then, all you have to do is enter the old and new URLs:
Plugin alternative: 301 .htaccess redirect
The more advanced can use another way, and that is to use the .htaccess file, which you will find in the directory of the website (that is, in the same place where the index.php or index file). Then you need to add such code to the file (with the old and new URLs completed):
RewriteEngine On
RewriteCond %{HTTP_HOST} ^(www.?)old-URL [NC]
RewriteRule (.*)http://nowy-URL.pl/$1 [R=301,L]
Does positioning seem difficult and time-consuming to you? Contact me – I will teach you how to position your site on WordPress in the easiest way.
About the author
Digital marketing multitasker. Eight years of experience. I combine Google Ads, SEO, content marketing, video marketing and influencer collaboration.
I have been active in Google Ads, SEO and e-commerce for almost 10 years. Now I share my knowledge and experience on the blog, on social media and in courses, audits and training sessions.
Zapisz się do newslettera, aby zawsze być na bieżąco!
Reklamy się nie klikają? Przepalasz budżet? Pokażę Ci, jak optymalizować kampanie Google Ads. Zostaw swoje dane poniżej, aby dowiedzieć się, jak skuteczniej działać w Google Ads, SEO i e-commerce.