Forum Replies Created

Viewing 10 replies - 16 through 25 (of 25 total)
  • Thread Starter vrensen

    (@vrensen)

    Thanks, I used it in virtue.css. There it works! Cheers

    Thread Starter vrensen

    (@vrensen)

    Excuse me. This is the url. I thoughht all questions here were related to the Virtue theme.

    Thanks

    Thread Starter vrensen

    (@vrensen)

    I thought I had it all sorted out, but I ran into a new problem. I had to change hosts once of a sudden. So I uploaded the backup through FTP on the new server, created 2 nameservers, pointed the old ones and since then I can’t access any page anymore that’s in the root, including my wp-admin. Strangely enough I CAN access all subdirectories and subsequent pages and wp-admin. Also my redirection didn’t work anymore. Not even after creating new subdomains on the new server.

    Any idea what could be the problem?

    Thanks,
    Caspar

    Thread Starter vrensen

    (@vrensen)

    Thanks Mika, that’s indeed what I did. I forgot www. before the domain name. It works now.

    Thanks

    Thread Starter vrensen

    (@vrensen)

    @ ipstenu

    I managed to solve the above mentioned issue. Because I created subdomains through cPanel it created an empty install of WP.

    Still have another challenge though: my htaccess rules don’t redirect correctly. I followed the exact steps indicated here, but it still redirects to the main domain instead of the various subdirectories.

    This is what my .htaccess looks like:

    #Subdomains
    RewriteCond %{HTTP_HOST} ^alledagenitalie.deliciousnature.com [OR]
    RewriteCond %{HTTP_HOST} ^www.alledagenitalie.deliciousnature.com
    RewriteRule ^(.*)$ https://deliciousnature.com/alledagenitalie/$1 [R=301,L]
    
    RewriteCond %{HTTP_HOST} ^lozaff.deliciousnature.com [OR]
    RewriteCond %{HTTP_HOST} ^www.lozaff.deliciousnature.com
    RewriteRule ^(.*)$ https://deliciousnature.com/lozaff/$1 [R=301,L]
    
    RewriteCond %{HTTP_HOST} ^italianfood.deliciousnature.com [OR]
    RewriteCond %{HTTP_HOST} ^www.italianfood.deliciousnature.com
    RewriteRule ^(.*)$ https://deliciousnature.com/italianfood/$1 [R=301,L]
    
    RewriteCond %{HTTP_HOST} ^yogaholidays.deliciousnature.com [OR]
    RewriteCond %{HTTP_HOST} ^www.yogaholidays.deliciousnature.com
    RewriteRule ^(.*)$ https://deliciousnature.com/yogavakanties/$1 [R=301,L]
    
    RewriteCond %{HTTP_HOST} ^gastronomicholidays.deliciousnature.com [OR]
    RewriteCond %{HTTP_HOST} ^www.gastronomicholidays.deliciousnature.com
    RewriteRule ^(.*)$ https://deliciousnature.com/culinairevakanties/$1 [R=301,L]
    
    # BEGIN W3TC Browser Cache
    <IfModule mod_deflate.c>
        <IfModule mod_headers.c>
            Header append Vary User-Agent env=!dont-vary
        </IfModule>
            AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon application/json
        <IfModule mod_mime.c>
            # DEFLATE by extension
            AddOutputFilter DEFLATE js css htm html xml
        </IfModule>
    </IfModule>
    # END W3TC Browser Cache
    
    # BEGIN WordPress
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [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]
    # END WordPress

    How now do I get the old URLs to redirect properly to the new ones (those in subdirectories)?

    Thread Starter vrensen

    (@vrensen)

    Hello Mika,

    I changed from subdomains to subdirectories. 5 of 8 subdomains tranferred correctly. Three however don’t: it shows ‘Index of’ but no site. Can’t access the wp-admin file neither: returns a 404. The directories not showing anymore are https://www.deliciousnature.com/italianfood, https://www.deliciousnature.com/lozaff and https://www.deliciousnature.com/alledagenitalie.

    Any idea why these don’t work and the others do?

    Thanks,
    Caspar

    Thread Starter vrensen

    (@vrensen)

    Does anyone have an answer to this question?

    Thanks in adavance

    @ofer Wald

    Still planning to further develop transposh for WooCommerce? I’m happy to help testing.

    I tested it shortly. The shop works fine, translates product names, categories, buttons. Shopping cart works fine. Checkout works fine until the order summary. It doesn’t do that bit, neither the payment option section.

    In other words, seems to be just a little away from being ready.

    I used theme twenty twelve for the test.

    Hello,

    Of the topics I found on the forum this one seems to come closest to my needs and current situation. I’m not sure if the topic is still open however since it was resolved recently.

    My situation differs from the above in that way that I wanted to move 5 existing subdomains on a multisite install to subdirectories, YET ON THE EXISTING SERVER and preferably on the EXISTING WP MULTISITE INSTALL. What I planned to do after backing up all content and data, is NOT to export all posts, yet to change all URL’s of existing databases new sites (with subdirectories) with the script, adapt the htaccess and create redirects for the old subdomains, pointing to the newly created subfolders.

    I have the following questions before proceding with the above mentioned steps:
    – If I change subdomain install to false, will the subdomains and the site actually still be active as such? In other words can I run this operation in parallel?
    – If not I can I avoid downtime?
    – Can I keep using the multisite install?
    – Do I have to changes prefixes as well and if so, how?

    Thanks

    Hi DMarsh

    It seems you managed to resolve the issue. May I know how you managed to do that?

Viewing 10 replies - 16 through 25 (of 25 total)