The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

.htaccess rewrite rule error

Discussion in 'General Discussion' started by ravengamma, Oct 6, 2013.

  1. ravengamma

    ravengamma Registered

    Joined:
    Oct 6, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Hi,

    I added RewriteRule ^(.*)\/(\?.*)?$ $1$2 [R=301,L] to delete the last / of an URL, but now my website is messed up, how can I undo this change?

    I deleted the line, but still when i try to push the link I get: The requested URL /home/nicolke113/domains/domain.com/public_html/About was not found on this server.

    Thanks,

    ravengamma
     
  2. ravengamma

    ravengamma Registered

    Joined:
    Oct 6, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Stupid me, I forgot the delete my cache. Everything is ok now.
     
Loading...

Share This Page