The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [folder]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
26 views

.htaccess to redirect subdirectory to its own domain name

I have for example 2 domain names gl.example that points to /public_html/ (which has subfolder /public_html/tlf/) and tlf.example that points to the subfolder /public_html/tlf/ How do I redirect so ...
0
votes
0answers
5 views

Redirect sub.domain.com/folder1/ to sub.domain.com/folder1/folder2/

I'm trying to redirect sub.domain.com/folder1/ to sub.domain.com/folder1/folder2/ but I don't know-how. I've tried so for this but without success. RewriteEngine On #If the host is "sub.domain.com" ...
2
votes
1answer
39 views

Can I use robots.txt to allow Google to access some folders, but disallow everything else?

I want to allow Google bots to crawl only my index.php and the content of some folders. Would that work? User-agent: * Allow: /index*.php Allow: /folder1/ Allow: /folder2/ Allow: /folder3/ Allow: /...
2
votes
1answer
91 views

Move a blog on a different server from a subdomain to a folder using Nginx

I have a node js application that runs on a VPS, and recently we added a blog to the site, we choose WordPress for the blog CMS, for avoiding configuring VPS for PHP and WP we moved blog to another ...
1
vote
1answer
1k views

Force non-www https mode for a dirctory and its sub-folders

My root website (example.com) and its folder (example.com/folder) have two different CMS (Opencart for example.com and WordPress for example.com/folder). I use this code in example.com to force non-...
2
votes
0answers
151 views

SEO impact of many subdirectories right next to root domain

I'm working on a site that has around 150 static pages within the site structure. It has eight top-level sections linked to from the global navigation. However, having scraped the links from the ...
2
votes
1answer
2k views

How to access root directory folder from public_html folder through the web using cPanel?

I am able to create folders in my root directory using cPanel. When I do so I would like to be able to access them from the public_html so that they are available on my website. However, I don't ...
0
votes
1answer
631 views

Cpanel - How to delete addon domain associated folder after removing domain? [closed]

I have added and then removed few add-on domains in my hosting. But after deleting, their assigned folder still appears in folder and ftp listing. I tried to delete or rename them but they still ...
2
votes
0answers
29 views

Pleasing google with their adsense format for doubleclick

I take a look here: https://support.google.com/adsense/answer/2594855?hl=en and to maximize advertisements on my site, I want to fix rejected adsense requests. One thing google mentions is to create ...
1
vote
1answer
1k views

How to redirect the root of a directory in .htaccess without also redirecting all the contents?

I have two specific URL which are being redirected with 301 redirect in my .htaccess file like below: redirect 301 /old-url-1/ http://www.domain.com/new-url-3/ redirect 301 /old-url-2/ http://www....
0
votes
1answer
32 views

Which is a better folder name to use in my URL? [closed]

We are putting together a knowledge base with various self service articles as well as technical documentation for an opensource application we're building. We obviously want the articles to be ...
0
votes
1answer
1k views

Grant Permission to File Folder

I am making a website, and I want the users to be able to access a file folder. I have a link to a folder. When I do this locally, all works fine. But when I upload it to my site, I get: Forbidden ...
1
vote
1answer
544 views

Move vBulletin to subdomain or to a folder?

I've a quite big vBulletin forum, with 400'000 messages and 15'000 users. Now I want to disable the vBulletin CMS and install Wordpress in the root of my domain. So I'll move the forum in a folder (...
1
vote
1answer
1k views

Why popular sites don't use subdomains or subfolders for multi-language translations?

I read many discussions about the epic question: "subdomains vs folders for multi-language sites". However, I'm really curious to know why the big companies (Facebook, Twitter, Tumblr, YouTube, Vimeo,...
2
votes
2answers
37 views

How do I configure Drupal so that is not in a subdirectory?

I loaded Drupal folder into public_html. All works fine. The site opens correctly, but only when I give full address including folder as IP:80/drupal. How do I use only IP:80 to access the website. I ...
1
vote
1answer
724 views

Subdomain pointing to wrong folder

I have an InMotion advanced dedicated server. I created a cPanel account and tried to create several subdomains there. I created and pointed multiple sub domains to a single folder public_html/mobile ...
7
votes
6answers
1k views

Would it be better to use subdomains or folders when each client needs a section of the site?

I'm working on a services type web application and I have to choose how to set up the URLs for the customers. Which solution is better, as a subdomain (e.g.: client.myservice.com) or as a folder (e.g.:...