Forums

[closed] How i can use rewrite_rules from database ? (10 posts)

  1. Alaa Gamal
    Member
    Posted 10 months ago #

    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 ?

  2. Alaa Gamal
    Member
    Posted 10 months ago #

    i know that's not right place for this post
    but i really need help
    Please Help !

  3. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 10 months ago #

    I'll move it for you.

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

  4. Alaa Gamal
    Member
    Posted 10 months ago #

    thank you for move
    exactly that i want know the idea

  5. Anders
    Member
    Posted 9 months ago #

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

    Start here: http://www.workingwith.me.uk/articles/scripting/mod_rewrite

    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.

  6. brasofilo
    Member
    Posted 8 months ago #

    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

  7. rocky4432901
    Member
    Posted 6 months ago #

    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!!

  8. brasofilo
    Member
    Posted 6 months ago #

    1. yes, you need to go beyond 755

    2. what???

  9. sridharvarma316
    Member
    Posted 6 months ago #

    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.

  10. brasofilo
    Member
    Posted 6 months ago #

    @sridharvarma316
    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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags