Support » Developing with WordPress » How i can use rewrite_rules from database ?

  • Hello i was asking about

    How i can use htaccess rules from database like wordpress ?

    for example :

    they are have column named rewrite_rules in database ..

    and using it as .htaccess file !

    ,, so i was asking , how i can record htaccess in my sql

    and use it as file ?

Viewing 9 replies - 1 through 9 (of 9 total)
  • i know that’s not right place for this post
    but i really need help
    Please Help !

    Moderator Ipstenu (Mika Epstein)


    🏳️‍🌈 Halfelf Rogue & Plugin Review Team Rep

    I’ll move it for you.

    But … what are you trying to do? Are you trying to reverse engineer how WordPress handles .htaccess rules?

    thank you for move
    exactly that i want know the idea



    That’s a pretty complex question. Are you familiar with mod_rewrite?

    Start here:

    The WP system is pretty clever, but in a nutshell the .htaccess is used to pass the custom url a user has requested into the WP engine, that then attempts to match up the URL with an active page/post/category/taxonomy/etc.

    Look into wp_query and wp class.

    probably you’ll record the rules in the database and write them as the very htaccess file whenever you do a change in your rules,
    i don’t think Apache would consult MySql to do his stuff

    i guess if this plugin handles this matter that way

    1. Okay this in NOT about htaccess file. I still have a problems with Permissions. But the reason i came to this forum is because I have an older video tutorial that wants me to change the WP PERMISSIONS TO 777 to make my wp blog WRITEABLE. I am thinking I do not have to do this now to make a Membership-site Blog. If I do, I need to get another hosting account because mine says it is a security issue and will not let me go beyond 755. Any WP Progammers out ther to enlighten me???????????

    2. If anyone knows how to get a PDF URL from MICROSOFT OR ADOBE for a PDF I MADE – PLEASE LET ME KNOW AS WELL!!

    1. yes, you need to go beyond 755

    2. what???

    hi,this is sridhar from hyderabad,wordpress designer.i am using classipress theme to desing a classified site but i am unable to get the posts,comments,and recent pages in the user dashboard,
    what was the problem,plz tell me.

    please open a new thread, your problem has nothing to do with what’s being discussed here

    and this is not a problem, it’s the default behavior…
    you will see that many of the default widget in the dashboard can be configured to show a custom RSS feed

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘How i can use rewrite_rules from database ?’ is closed to new replies.