Questions tagged [folder]

19 questions
7
votes
6 answers

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.: myservice.com/client/) ? I'm not interested in…
Alex
  • 1,023
  • 1
  • 11
  • 21
2
votes
1 answer

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 see any way of doing so. Are folders at the root…
Murad Hasan
  • 123
  • 1
  • 6
2
votes
0 answers

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 a doubleclick folder and put the file…
2
votes
1 answer

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 am using cPanel.
kinkajou
  • 131
  • 4
2
votes
1 answer

.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 that if users visit…
Tin Tran
  • 121
  • 3
2
votes
1 answer

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: /folder4/ Disallow: / The idea is for Google to…
2
votes
1 answer

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 host with cpanel and different ip on a…
Sinandro
  • 123
  • 5
2
votes
1 answer

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-www https mode: RewriteCond %{HTTP_HOST}…
Pasakgroup
  • 304
  • 1
  • 3
  • 14
2
votes
0 answers

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 site, it shows that there are 88 subdirectory folders…
Hamspray
  • 21
  • 1
1
vote
1 answer

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.domain.com/new-url-3/ Now problem is with URL…
Alan Kis
  • 247
  • 2
  • 4
  • 11
1
vote
1 answer

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 (mysite.it/forum/) or in a subdomain…
testermaster
  • 439
  • 1
  • 6
  • 11
1
vote
1 answer

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, Reddit, etc.) do not use any of the two options.…
neogeo
  • 11
  • 2
1
vote
1 answer

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 but instead all are pointing to public_html/.…
arxoft
  • 277
  • 1
  • 2
  • 7
1
vote
1 answer

When uploading a photo to a website, for custom gifts and the like, do they only access the uploaded photo?

When uploading a photo to a website for a custom gift that the photo goes on, the phone or computer brings up a window to choose the photo you want. Does the website see any of the photos while you are scrolling to the one you want, or is that the…
0
votes
1 answer

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

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 appear after a day. I asked the hosting support but…
adam
  • 1
  • 2
1
2