Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
.html extension in page's url
#1
Howdy
I've stumbled upon a problem after modifying an old, static website.
After converting /*.html pages to GS, old links ceased to work.
There's no problem with rewriting them using mod_rewrite.
But I'd like to get the possibility to do it from within GS admin panel, just by adding .html in the page's url field.

clean_url() function inside basic.php stripes unnecessary chars from url, and after modifying it I'm able to save the page with fake .html extension.
But that's not all what I needed to change, as I get 404error while visiting such page.
Could anyone point me to the right function where I could tweak the code to achieve the goal, or maybe there's another, supersimple solution ?
Addons: blue business theme, Online Visitors, Notepad
Reply


Messages In This Thread
.html extension in page's url - by yojoe - 2014-01-13, 06:41:53
RE: .html extension in page's url - by hameau - 2014-01-13, 19:13:48
RE: .html extension in page's url - by yojoe - 2014-01-13, 19:39:31
RE: .html extension in page's url - by hameau - 2014-01-13, 23:56:42
RE: .html extension in page's url - by Everyone - 2014-01-13, 23:55:35
RE: .html extension in page's url - by shawn_a - 2014-01-14, 00:22:54
RE: .html extension in page's url - by yojoe - 2014-01-14, 01:55:26
RE: .html extension in page's url - by hameau - 2014-01-14, 18:28:52
RE: .html extension in page's url - by shawn_a - 2014-01-14, 02:20:00
RE: .html extension in page's url - by shawn_a - 2014-01-14, 22:47:38



Users browsing this thread: 1 Guest(s)