October 2nd, 2012, 04:21 PM
Could someone please help a PHP Dumb?
I'm using a PHP script based on enterspire shopping cart Bigcommerce. I'm changing some headers that it had on a very wrong way, eg the H1 was using the logo, which is irrelevant for SEO, every side bar was h2, and so on. A fixed a lot of it already. Now just need to change two <h2> tags to <h3>, but these i just cant track from where they come.
Could someone give me a light on how to find the file that is generating these two h2 tag?
The page is jmuller777.com
and the tags are in the title of the last two left side boxes (FORMAS DE PAGAMENTO / FORMAS DE ENVIO). They also appear in the footer but I think they are generated by the same file, just do not know which determine them.
All the others i could find going on intuition, but these two are giving me hard work.
If someone can help me out, I will be very grateful!
Thanks a lot!
October 2nd, 2012, 06:27 PM
From looking at the output there is really no way to tell. You would have to examine the source code, determine how it constructs the page, and trace through that to the relevant place. Keep in mind that it could be coming from the database too.
Which h-tag you are using probably has virtually no bearing on your site's search engine placing.
October 2nd, 2012, 06:35 PM
Have you tried looking for
or "Moveable Panel"?
<div class="BlockContent" align="center">
Anyway, since we don't have access to the PHP scripts, we can't really help you with this. It's a matter of trial and error or inspecting the template logic.
October 2nd, 2012, 06:49 PM
Originally Posted by E-Oreo
Thanks, i tried exactly it, trace it back by looking at the source code, and i had done good until a reached these two h2 tags. But i did not look at my database yes, thanks for the advise.
And i also understand that its not going to rank my page on top 10 just because of the h tags, and that it have little to no impact on its SEO, but yet, since its very easy, i prefer to keep it coherent.
October 2nd, 2012, 06:54 PM
I had. Searched for both but had found no results for them. I did not pasted the script here because i thought it would be detected as some form of spam or something not allowed.
Originally Posted by Jacques1
October 3rd, 2012, 09:32 AM
What kind of IDE are you using? If you're using sublime text 2 or text mate, or any decent code editor you should be able to search for the markup site wide. Suppose you're using ST2, drag the root directory of your project into the ST2. Go to Find -> Find in files... At the bottom of your editor you will see Find: (this is where you will put the code you're looking for) and in the Where: (this should be the file path to your root directory).
If you're not using ST2 i would google around on how to search all the files in a project with the IDE that you are using. Hope this helps!