+ Reply to Thread
Results 1 to 5 of 5

Thread: username and sub-domain same - Restrain subdomains/subdirectories

  1. #1
    Senior Member
    Join Date
    Dec 2011
    Posts
    159

    username and sub-domain same - Restrain subdomains/subdirectories

    I am not sure if this is a bug or not

    I have applied under "Restrain subdomains/subdirectories" the word "blog" which i shall be installing wordpress

    I dun quite understand what this restrain function is for? Is it to block something?

    I tried to register a member using the username "blog" and was successful.

    Both following URL works for this user and lead the user page, so will this is a conflict for xxx.com/blog/index.php in the future for my wordpress?

    xxx.com/blog
    xxx.com/blog/

    I created a html page and create a directory "blog" and upload this page. The page is not able to be viewed, it will get divert to the user page.

    Please advise how i create a wordpress blog at a directory or is there something i need to add at the .htaccess

    I tried applying the following but it did not work

    RewriteCond %{REQUEST_URI} !^/blog
    Last edited by rosegarden; August 2, 2012 at 10:49 PM.

  2. #2
    Senior Member
    Join Date
    Dec 2011
    Posts
    159
    This problem is solved as I forget to include a .htaccess in the sub-folder for wordpress

    Will recommend all to include a blog for SEO
    Last edited by rosegarden; August 3, 2012 at 12:15 AM.

  3. #3
    Flynax developer
    Join Date
    Sep 2009
    Posts
    638
    Hi Desmond,

    Here was the bug, Restrain option is exactly for this - don't allow to register with one of the restrain words as personal page address.

    I have checked it - it's fixed in 4.1 version: you can type denied words (directories) through the comma. And it will not allow to use them as personal page address.

    If you want it to be fixed without version update please submit a ticket.

  4. #4
    Senior Member
    Join Date
    Dec 2011
    Posts
    159
    Hi Mike
    I like to know

    for example if my URL is :

    xxx.com/listing/brand/...

    If i block "listing" does that mean all the following will be blocked?

    "listing/brand/..."

    Does that mean that visitor cannot sign up "listing/brand" as a user?

  5. #5
    Flynax developer
    Join Date
    Sep 2009
    Posts
    638
    For original script:

    1. It will not allow to add personal address with / in it.
    2. Script checking for path to be not in the pages of website (listing i think is page path)


    This configuration is for Personal Address field and not for Username field originally, but as we changed this logic for your website i'm not sure how it will work.
    If you dont want / to be in the username and path please check it on your website and if not working let me know (ticket better)

+ Reply to Thread