Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other .htaccess help

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #41692
    SycoLV
    Member

    Hi guys,
    I’m new with .htaccess so I need some help.

    Is there a way to change this link like this:

    mydomain.com/about-us.php#our-mission

    in

    mydomain.com/about-us/our-mission

    Thanks!

    #119509
    chrisburton
    Participant

    Yes. You need some sort of rewrite but that is outside of my knowledge.

    #119511
    Andy Howells
    Participant

    I was going to post what I thought would work but apparently someone on StackOverflow asked this previously – it may not be possible.

    http://stackoverflow.com/questions/3585019/need-to-escape-hash-pound-character-in-htaccess-rewrite-rule

    #119512
    chrisburton
    Participant

    Ah, I misread that completely. I use Kirby as my CMS and it creates a rewrite to something similar to what you’re asking (minus the hash). My apologies.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Other’ is closed to new topics and replies.