Recent Topics

1 Sep 30, 2013 22:15    

I have been trying to set up multiple blogs working from multiple sub-domains. I have set up one redirect (tried both permanent and temporary, with and without index.php after the / etc.) and the URL settings in the back office as indicated. When the redirect did work, for some reason it took me to the www.theherzes.com/admin.php (the back office, so to speak). So I tried using a different (static) index.php just to see if the index was indeed being called. That did work. When I tried to switch back to the original index file, I got a 404 Not Found Error.

Also, I don't like that my redirect causes the return to my home page address in the address bar. I plan eventually to have my own page at the home page, and not a blog. I want the subdomain's address to continue to appear in the address bar, even after the redirect. Is this possible?

2 Oct 01, 2013 01:50

I tried to redirect my Blog2 blog as well, and got the same error; so I undid the redirect and now can call my blog2 explicitly at http://www.theherzes.com/index.php?blog=2; for some reason, I tried to type in the sub-domain name for my blog2 (manners.theherzes.com) after I had returned my Base URL setting to Default blog in index.php, but before I had undone the cPanel redirect (to http://www.theherzes.com/blog2.php), and now it works. I tried the same settings on my Blog1 with the result that I get the error:

This webpage has a redirect loop

The webpage at http://www.theherzes.com/blog1.php has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer.

3 Oct 01, 2013 01:58

Why are you doing redirects in the first place?

A redirect is sending users from one URL to another. It has nothing to do with b2evolution.

b2evolution can only work on the destination/final URLs of your redirects.

Also when you do redirects and want to test them in your browser, you must clear your browser cache every time or you won't see what really happens. But again, those redirects are completely out of the scope of b2evolution.

Note: from what I understood from your project previously, the only thing that would make sense is that you set up all your domains and subdomains as ALIASes of your main domain. ZERO subfolders should be involved. ZERO redirects should be involved.

4 Oct 01, 2013 02:16

I am doing them because in the thread http://forums.b2evolution.net/topic-23097#c99886, Manuel Garcia (mgsolipa) suggested:

You don't need to add anything to your folders, please make sure that all your domains and subdomains are pointed to your main b2evolution directory on the web server (this could be done from your c-panel account and the support staff of your web hosting company could help you with this in an more effective way than us). For example: www.theherzes.com and www.davidherz.org (and all the subdamains) must open up your b2evo main page. After that, you need to work with the URL settings direct from the back-office.

Each separate blog needs to be configured with its own URL parameter, to do that, please go to Blogs > [Your blog] > URLs > Blog URL [Admin]. In this form you must set the URL that corresponds to each blog.

I had originally thought I needed some files in each sub-domain (the stub, any customs skins, certain config files) so that they would display, but the above cited thread had me thinking otherwise.

Anything you could suggest to help me sort this out would be most appreciated. I feel like I have been running in circles for a while. Every now and then I figure out how to see my blog again, but now it's disappeared. I just want to stop trying to configure things and start playing more with content and stylings.

5 Oct 01, 2013 02:32

Again, I don't understand why you do redirects.

Manuel said **point** your domains at the main directory. I said make **aliases**. It's the same thing. It DOES not mean you should make redirect.

Kill your redirects and make aliases that all show the same main folder of your website.

And empty all your browser caches! Be aggressive about it! ;)

6 Oct 01, 2013 02:39

So I don't know what point means then, nor do I know what aliases are. Is this simply the blog URL setting, or is something else involved? I looked at my c-Panel, and the only thing that looked like a point was a redirect. I noted this in my comment on that thread on September 2. I've been going in circles since. I don't exactly know how to clear a cache either, but I'll take a look.

7 Oct 01, 2013 03:31

So I cleared the cache and killed the redirects. My Blog1 still does not display. I checked my Simple DNS Zone Editor, and there is an A record for each of my subdomains, prefixed by webdisk., like this:

Name Type Record
webdisk.david.theherzes.com. A 108.178.42.10

My blog1 still does not display. What's next?


Form is loading...