Hi there
I created a resources page on my website and i now want to edit the title and H1 tag but when i open the files in dreamweaver they are php code and different to the
html 'view source version'. There does not appear to be a html version of the page - only php?? - am i looking in the wrong place?
The website is http://www.centralstudioscheltenham.co.uk/resources.php
Many thanks in advance,
Ben
php nightmare
Moderator: General Moderators
Re: php nightmare
Well you built it in php so obviously no there wouldn't 1. What are you trying to achieve?
Re: php nightmare
Thanks for your response
I did not build the site. it is a custom made content management system and i am trying to optimise the meta tag and H1 tags, but i cant seem to find the right files to edit - only php files
I did not build the site. it is a custom made content management system and i am trying to optimise the meta tag and H1 tags, but i cant seem to find the right files to edit - only php files
Re: php nightmare
These can be a real pain to modify, where did you get this from?? may b i can have a look and help you more. The problem with some CMS is that they use .tpl files and includes to create their page. Its not rocket science but its annoying.
Re: php nightmare
just a long shot...
But in dreamweaver if you open the file in php can you not go to;
File:
Save As :
then type in .html after the document name ? ... i tried this just before and it seemed to have worked.
unless i am misunderstanding what you need
But in dreamweaver if you open the file in php can you not go to;
File:
Save As :
then type in .html after the document name ? ... i tried this just before and it seemed to have worked.
unless i am misunderstanding what you need
Re: php nightmare
Try this:
Assuming that you are using Windows, and have a local copy of the entire site. You can try searching the local site directory for files (of any type, *.*) containing the string "Cheap hotels in Cheltenham,Budget Accommodation in Cheltenham,Cheap Hostel Cheltenham", as that is your current TITLE. If a file is found, open it in Notepad or a similar text editor, not DreamWeaver, and edit the text directly.
Assuming that you are using Windows, and have a local copy of the entire site. You can try searching the local site directory for files (of any type, *.*) containing the string "Cheap hotels in Cheltenham,Budget Accommodation in Cheltenham,Cheap Hostel Cheltenham", as that is your current TITLE. If a file is found, open it in Notepad or a similar text editor, not DreamWeaver, and edit the text directly.
Re: php nightmare
PHP is parsed on the server, so that is why it is different than the code generated in "View Source" Start with the "index.php" or whatever file is loaded by default, and follow the code to figure out where the metadata is being generated from. Telltale signs are often things like "require()" or "include()".