Forums

Problem with url/domain mapping (5 posts)

  1. benek71
    Member
    Posted 1 year ago #

    Hi,

    I had the same problem as this guy http://wordpress.org/support/topic/site-url-4.
    Answering his question Andrea said that he made some errors with installation. Kharvari wrote: 'So, I need to install directly into the hosting account and not in a folder'

    I don't understand his answer, I followed tutorial when installing and put everything into a folder - I created special one on my hosting account (= on my server)i.e. public html and put there WP files.

    My blog works, but I have problems with url and domain.
    What shall I do to put my domain into my blog, now I have following address http://www.myservername/public.html/wordpress ?

    Thank in advance for your answer

  2. If you want WordPress MultiSite to run out of myservername.com then you install WordPress in the ROOT of your HTML server.

    On most server's it's a folder called public_html or www. If that's not yours, ask your web host.

  3. benek71
    Member
    Posted 1 year ago #

    Thanks, now I understand, I will ask my web host tommorow where the folder is.

  4. benek71
    Member
    Posted 1 year ago #

    I contacted my web host. They said that type of server I ve got allow to put me WP files in any place on the server. My problem ,according to them, is caused by wrong configuration of .htaccess (Mod Rewrite)- they suggested to go to IT specialist.

    I ask kindly for help. Below I put down my .htaacces. What shall I change?

    Thanks in advance

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule  ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule  ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]
    </IfModule>
    
    # END WordPress
  5. They said that type of server I ve got allow to put me WP files in any place on the server.

    That is correct, BUT, you (and they) need to listen to WHAT I said :)

    If you want WordPress MultiSite to run out of myservername.com then you install WordPress in the ROOT of your HTML server.

    Okay read that a couple times. That's not a SERVER requirement, it's a WordPress one. Tell your host. They need to learn that one.

    My problem ,according to them, is caused by wrong configuration of .htaccess (Mod Rewrite)- they suggested to go to IT specialist.

    Yeah, no. That .htaccess is 100% correct for using WordPress MultiSite with subfolders. Tell your host that the .htaccess is right, but their SERVER setup isn't handling it correctly, and can they turn on AllowOverride to ALL

    Give them this link too: http://codex.wordpress.org/Create_A_Network#Apache_Virtual_Hosts_and_Mod_Rewrite

Topic Closed

This topic has been closed to new replies.

About this Topic