The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Programming Languages
> PHP Development
|
PHP-General - Could someone please help a PHP Dumb?
Discuss Could someone please help a PHP Dumb? in the PHP Development forum on Dev Shed. Could someone please help a PHP Dumb? PHP Development forum discussing coding practices, tips on PHP, and other PHP-related topics. PHP is an open source scripting language that has taken the web development industry by storm.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

October 2nd, 2012, 03:21 PM
|
|
Registered User
|
|
Join Date: Oct 2012
Posts: 3
Time spent in forums: 20 m 23 sec
Reputation Power: 0
|
|
|
PHP-General - Could someone please help a PHP Dumb?
Hello!
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, 05:27 PM
|
 |
Lost in code
|
|
|
|
|
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, 05:35 PM
|
 |
pollyanna
|
|
Join Date: Jul 2012
Location: Germany
|
|
Hi,
Have you tried looking for
Code:
<div class="BlockContent" align="center">
or "Moveable Panel"?
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, 05:49 PM
|
|
Registered User
|
|
Join Date: Oct 2012
Posts: 3
Time spent in forums: 20 m 23 sec
Reputation Power: 0
|
|
Quote: | Originally Posted by E-Oreo 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. |
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, 05:54 PM
|
|
Registered User
|
|
Join Date: Oct 2012
Posts: 3
Time spent in forums: 20 m 23 sec
Reputation Power: 0
|
|
Quote: | Originally Posted by Jacques1 Hi,
Have you tried looking for
Code:
<div class="BlockContent" align="center">
or "Moveable Panel"?
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. |
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.
|

October 3rd, 2012, 08:32 AM
|
|
Registered User
|
|
Join Date: Oct 2012
Location: Jersey
Posts: 16
Time spent in forums: 2 h 35 m 46 sec
Reputation Power: 0
|
|
|
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!
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|