Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

How to bulk delete current redirects in cPanel

Discussion in 'General Discussion' started by Arta Seyedzadeh, May 11, 2019.

  1. Arta Seyedzadeh

    Arta Seyedzadeh Registered

    Joined:
    May 22, 2018
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Oman
    cPanel Access Level:
    DataCenter Provider
    Hello,

    A client of mine used wildcard redirect which resulted to system adding 1000s of redirects.
    I don't see an option to bulk delete it, is it possible to completely delete all redirects at once?

    - Removed -
     
    #1 Arta Seyedzadeh, May 11, 2019
    Last edited by a moderator: May 11, 2019
  2. GOT

    GOT Get Proactive! PartnerNOC

    Joined:
    Apr 8, 2003
    Messages:
    1,464
    Likes Received:
    180
    Trophy Points:
    193
    Location:
    Chesapeake, VA
    cPanel Access Level:
    DataCenter Provider
    They should all be in the htaccess file in public_html. You could edit that file manually.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Arta Seyedzadeh

    Arta Seyedzadeh Registered

    Joined:
    May 22, 2018
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Oman
    cPanel Access Level:
    DataCenter Provider
    Thanks for your reply

    I am aware of that and that's already been done to avoid the redirects. But my question is how can we delete the records in "Redirects" in cPanel?
     
  4. GOT

    GOT Get Proactive! PartnerNOC

    Joined:
    Apr 8, 2003
    Messages:
    1,464
    Likes Received:
    180
    Trophy Points:
    193
    Location:
    Chesapeake, VA
    cPanel Access Level:
    DataCenter Provider
    I'm fairly confident that the list in cpanel is pulled from the htaccess itself.

    Make a backup of the file then remove them from the htaccess and see if they are then gone from cpanel.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Arta Seyedzadeh

    Arta Seyedzadeh Registered

    Joined:
    May 22, 2018
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Oman
    cPanel Access Level:
    DataCenter Provider
    You are right. There were too many expressions which I failed to delete a few of them and that is why the records were left in Current Redirects.
     
  6. GOT

    GOT Get Proactive! PartnerNOC

    Joined:
    Apr 8, 2003
    Messages:
    1,464
    Likes Received:
    180
    Trophy Points:
    193
    Location:
    Chesapeake, VA
    cPanel Access Level:
    DataCenter Provider
    Glad that worked for you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Arta Seyedzadeh likes this.
  7. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,161
    Likes Received:
    474
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    I'm glad @GOT was able to help you resolve your issue @Arta Seyedzadeh

    Do let us know if you need any further assistance.

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice