Breaking Posts

6/trending/recent

Hot Widget

Type Here to Get Search Results !

How do I change my wordpress theme without losing SEO - Latest article 2022

How do I change my wordpress theme without losing SEO?


So, I’m using my default WP theme from the cPanel and noticed that it is not working for me at all. And, it’s annoying. It has to do with SEO. If you visit your website without a proper sitemap (so that search engines can easily get a good idea of what pages are important), you will be frustrated by this article. But, if you have a lookalike, you can easily make changes to the template without losing any essential information about the site.


change my wordpress theme without losing SEO


To start, let’s take a look in some easy steps that will help you get started with changing a theme in WordPress without losing SEO quality or SEO services at all.


Step 1: Use Your Google Analytics Account


Google Analytics is free and you need to log in to it. You need to activate it by simply clicking here. Don’t worry, no credit card information or other details are needed. Just sign up and activate. At first, you need to download it. Once it downloads, just go to the login page and click on “activate now” at the top of the account. After activating, you need to go to https://www.google.com/analytics/ and then paste the code below and press enter. After pressing enter, you should see something like the picture below.

It also shows how many impressions your site gets and the number of keywords used for each post. That’s enough proof that your blog is getting discovered as well as the number of visitors who’ve viewed your content. Now, we can move on to step 2 that requires only one change. To begin, log into the same account as before. However, instead of going to https://www.google.com/analytics/ and typing in “Analytics Free” and click on Activate All, type in “My Site/Blog” and hit enter.


Step 2: Create an XML Webmaster File


Now let’s create an xml file from scratch. First thing, open this new text editor. Here’s a tutorial on generating webmaster entries. This is very useful because all our links and posts from WordPress will be displayed inside this file like so. Open it with both tabs and keep scrolling down to the bottom to select the appropriate file. You need to scroll all the way and reach “Create An XML Webmaster File” then right-click and choose “Save Draft as XML file. It will keep adding files to the folder so your site will have more than one file to work on. When the file is done, save it. In the next screen, under Document Root field, there will be two options: New One and Edit the existing document. Choose “New one” and add the following line underneath the.xml:


In terms of URLs, it looks pretty much similar to HTML, except it doesn’t show a list of the keywords. Clicking on the word will give us all the necessary information. At last, after closing the file, save the document in your desired location. Follow these instructions to save the document to your computer:


The most common file formats include CSV (CSV-to-XML), JSON (JSON-to-XML ) and XSLT. A third option is Sitemaps (Sitemaps-to-XML). The best format to use is XSLT. It is very simple to use and you don’t need to worry about it. We will use XSLT in combination with the XML document to generate this HTML file later on. In the above screenshot, you can see the entire process.


Now we are ready to switch to the actual script to change our main domain. Go to cPanel and the Script tab and add a new script to your cPanel file. For this, simply put a few lines in there.


  • #!/wp-config.php # This function is called every time a client is logged in.
  • if ($user_id!= $this) # If it's already been seen in a previous session, no need to check again.
  • require "wp-config.php" # For older domains, this is called 'wp-admin'
  • require "wp-config.php" # For newer domains, this is called 'wp-manager'
  • require "wp-config.php"
  • //For multiple sessions, this is called 'wp-postman'
  • require "wp-config.php"
  • //If this is a custom domain, it takes care of everything for us.
  • require "wp-config.php"


That’s it! Now go to Wp Coding Documentation, select “Create a new function” and drag out some functions. Copy them and write in HTML files named as specified in the list. Save the file with a name of whatever you want to call this function and click Save. Then, go back to cPanel and select the ‘Update Function’ menu to edit the function. Save the selected one and click Open to continue.


Now open up another folder called scripts and right-click a new file and follow the steps mentioned in the previous section. Paste in the codes and save to this folder. This is called a script file and it will tell the server-side which version your web page will load when someone logs in.


Now we are halfway through the whole project. By the end of this page, you should have already changed the color scheme of your header, navigation bar, footer, and everything else. Next, go to your cPanel again and select the View of Code. Scroll down to View Source option to see the source code of the web page.


This is a demo page. Select this and find the corresponding code at any point you would wish. Try inserting the codes and edit the HTML to reflect whatever you want. Once your code is finished, click Preview to display it. You may have already noticed how big the HTML code gets and whether the image, script tag, etc., gets loaded as per its expected code or not. There are ways to modify the code to make it fit your needs.


Now once again select the View of Code window and insert codes. Again select Save and repeat this, but now save to a different place. These are called plugins. They are extensions, modules, templates, things like that. Many people think they are useless because they don’t provide us anything. But, they are really very helpful and provide us with ease of access. They can make changes to your website without affecting any essential parts. So don’t ignore them till the very last moment. Take a break and come back to this step.


Now select ‘View File Details’. Fill in the blanks as per the description of that file. For the same website, you can add new styles or edit old ones. Finally, go to ‘Save’ and make sure that in the box ‘Save As…’ you pick a new name to save your file. Repeat those steps until you have saved your “extensions” in this folder. You can always delete those too now.


Now your website is ready to start creating SEO friendly tags and sitemaps. There is nothing really to say about that. Just keep doing it right from here. Here’s a simple overview:


First thing, add meta tags to the webpage to tell the search engine that your page is about one keyword. If you add all the keywords, it takes longer time to get it recognized by the search engine.


Add sitemaps to the html code where you will use. Add images, lists, and any other elements that you want to provide a hint of the real structure of your website.


Add meta tags for keywords in the head section, so that you will get found by the search engine even if you haven't done any research on keywords yet.


Run tests regularly to ensure that your site does not have poor rankings.


Test your hosting and loading speed on a regular basis to confirm that your website works fine on the internet.


Here’s a basic guide on how to do it:

Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.

Top Post Ad

Below Post Ad

Ads Bottom