Jump to content

How to redirect CMS website ID extenstions to .HTML


saash

Recommended Posts

HI,

 

Iam developing my website in PHP (CMS to manage easy) and pages are in PHP with IDs (.php?id=1). As present website in .HTML and having good page raking i want the pages should show in HTML extensions, and able to manage pages through Admin. Please let me know how can we do.

 

Thanks, Saash

Link to comment
Share on other sites

you'll have to do some url rewriting.

or another information source is here

 

With url rewriting you can have www.domain.com/test.html point to www.domain.com/index.php?id=45

Although I'd recommend having a switch and having the id value in the url as a text string, i.e. id='home', or page='home'

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.