I have a site that I am pumping some php includes via markup item, and therefore need to change the docment to .php - the only problem is all the SEO (handled by a third party) has been done and is working great with all the urls as .html
I know I can do a simple redirect for each of the affected pages, but is there a way of having this php code in the page without change the url?
Nathan Garner
Creative Director
Austin Wells Design Limited
One Elmgate Drive - Littledown - Bournemouth BH7 7EF
t 01202 301271 e email@hidden w http://www.austinwellsdesign.co.uk
Member of NAPP | Zen Affiliate | Dorset Business Member | YEC
The server will now treat html pages as if they are php and you can keep your html extensions. The other benefit is that you can preview your site locally in Safari (albeit without the php blocks) unlike regular php pages.
Regards,
Tim.
On 7 Jan 2011, at 13:25, Nathan Garner wrote:
I have a site that I am pumping some php includes via markup item, and therefore need to change the docment to .php - the only problem is all the SEO (handled by a third party) has been done and is working great with all the urls as .html
I know I can do a simple redirect for each of the affected pages, but is there a way of having this php code in the page without change the url?
The server will now treat html pages as if they are php and you can keep your html extensions. The other benefit is that you can preview your site locally in Safari (albeit without the php blocks) unlike regular php pages.
Regards,
Tim.
On 7 Jan 2011, at 13:25, Nathan Garner wrote:
I have a site that I am pumping some php includes via markup item, and therefore need to change the docment to .php - the only problem is all the SEO (handled by a third party) has been done and is working great with all the urls as .html
I know I can do a simple redirect for each of the affected pages, but is there a way of having this php code in the page without change the url?