Skip to main content

Questions tagged [subdirectory]

A subdirectory is a directory that is located within another directory.

Filter by
Sorted by
Tagged with
0 votes
0 answers
18 views

Redirect the domain including all subdirectories

Suppose, my website is originally published at x.github.io. And I have another website y.github.io. My target is to redirect from 2nd one to the original one. I like to redirect the subdirectories too ...
raf's user avatar
  • 101
1 vote
1 answer
24 views

Best Practices for allowing analytics access for Third-Party SEO/SEM vendors

I am managing a large multi-tenant web property, where each tenant has some autonomy over whom they partner with for analytics. We need to retain full control over our analytics (GTM/GA) and also need ...
Tom Auger's user avatar
  • 155
0 votes
0 answers
313 views

Create different version of a website in WIX based on different location

I am new to wix. I have a website. It's connected to a domain example.com. Now I want to create diffrent version of this website and connect it to a subdirectory example.com/usa. Can I do that in wix? ...
Tanvir Ahmed's user avatar
3 votes
2 answers
257 views

Will the SEO of a webpage suffer if its parent directory has a redirect?

I'll have lots of webpages with URLs in this format: https://www.example.edu/faculty/firstname-lastname but for the parent page... https://www.example.edu/faculty ...I want it to redirect to... https:/...
Jingleballs's user avatar
3 votes
2 answers
143 views

Seo: tell search engines to prioritize a given subdirectory

Imagine a website of a recurring event. The URL structure is: http://example.org/2022/ - subdirectory about the 2022 edition of the event http://example.org/2021/ - subdirectory about the 2021 ...
etuardu's user avatar
  • 131
1 vote
1 answer
82 views

Do the number of back links to the root domain vs language subdirectories effect SEO?

My project has two language, English and Arabic. For this project we need more and more back links. The root domain has almost 60k back links but sub folders like /en has only 11k and /ar has only ...
umefarooq's user avatar
  • 141
3 votes
0 answers
47 views

Can I have a generic rule to map subdomains to directories?

I have these rulesets which are working. RewriteCond %{HTTPS} =on RewriteCond %{HTTP_HOST} ^www\.example\.city$ [NC] RewriteRule ^(.*)$ https://example.city/$1 [R=301,L] RewriteCond %{HTTPS} !=on ...
Rohit Gupta's user avatar
  • 2,647
1 vote
0 answers
46 views

Can Google Analytics compare the number of users who browsed different subdirectories?

My website is composed of many shops. I would like to understand the amount of users browsing each shop. Each shop has the following set of URLs: example.com/shop/shop-slug Each shop has category-page,...
Hugo Trial's user avatar
1 vote
1 answer
594 views

How to point a domain name to a subfolder

I have a working website: https://www.example.com It is a bit old, and now I want to make a new website. I don't want to make it on localhost but directly on the web. I was thinking to make the ...
Davy Renckens's user avatar
2 votes
1 answer
46 views

Redirecting smaller successful site to domain of new site - SEO impacts

Our client has 2 websites, each on their own domain, let's call them A.example and B.example, both interesting to the same demographic. A.example is a small but very successful single purpose site ...
Gregor Petrin's user avatar
1 vote
0 answers
100 views

Do I need to submit separate sitemaps for language based subdirectories?

my company uses a site that targets the different regions we are based in using subdirectories (www.example.com/en-sg/) instead of subdomains (www.en-sg.example.com). Can I ask if I will need to ...
Kendrick Chuah's user avatar
2 votes
1 answer
34 views

Do subdirectories of a domain have their own kind of internal ranking to the point that it matters in which one we publish new content?

Let's say I have a blog on example.com/blog/ and now I decide to create another blog inside example.com/product/blog/ If example.com/blog/ has been out there for 7 years and its content has been ...
Steve's user avatar
  • 337
2 votes
1 answer
676 views

For language URLs, should the default language gets its own subdirectory or take the document root?

I'm new in the i18n world, searching online the best structure to deploy my i18n website, I've found two solutions with the subdirectory model: Every language in /locale_code Default language in / ...
alexHX12's user avatar
  • 123
1 vote
2 answers
519 views

Multilingual web-page using subdirectories within a single domain

I want my webpage to be in multiple languages on the same domain, for example: domain.com/en domain.com/ru I can manually translate index.html into the languages I need, this is not a problem. I tried ...
tslaceo's user avatar
  • 21
1 vote
1 answer
61 views

How to get duplicate geo-targetted sub-directories indexed when Google is ignoring the canonicals?

I have a main website example.com which is mainly used for targeting one country. We recently started creating sub-directories for targeting other countries i.e, example.com/us/, example.com/ph/ etc., ...
Divya Lal's user avatar
2 votes
1 answer
462 views

How can I redirect my URL to rearrange the order of subdirectories in .htaccess?

My current URL is example.com/example/{dynamic_id}/{dynamic_name}/static/1.html I want to redirect it to this, example.com/{dynamic_name}/example/{dynamic_id}/static/1.html I tried but failed.
Aatish Kumar's user avatar
1 vote
1 answer
987 views

css,js,img folders not available for subdomain pointing to subfolder

I created a subdomain for my site subdomain.example.com I then pointed it to a subdirectory inside the /public_html folder on the server, where i created an index.html file. I referenced all assets ...
Bravewart's user avatar
1 vote
1 answer
148 views

Website crawler returns hundreds of 404 errors for pages that do not exist containing duplicate directories

I just completed a website crawl on my site to vet SEO, which should return 119 pages. The results are around 490, with errors being returned showing hundreds of 404 pages with strange URLs. These ...
spl's user avatar
  • 37
2 votes
1 answer
111 views

Subdomain vs Subfolder for Billing Software; Specifically Knowledgebase, Downloads, Status Pages [closed]

Intro "Subdomain vs Subfolder" Yes this question has been asked many, many, times but I will try to ask this in a way which is not considered a duplicate as my question pertains more to some of the ...
Analog's user avatar
  • 2,385
0 votes
1 answer
21 views

URL Rewrite - Does order of directories matter to search engines?

So a pretty straight forward question here. Should the directory structure created from url parameters such as: /color-brown/shape-square/material-wood/ remain consistent? Does it matter if you also ...
John's user avatar
  • 103
1 vote
0 answers
46 views

Do subdirectory URLs need to work for SEO if there are other URLs within that subdirectory? Does time of indexing subdirectory matter in search result

I have a website where I built a sub-folder structure on my links, like this: /category/city/postname Does it matter if /category/city doesn't have a page, even if there is no link to it on the ...
Essi's user avatar
  • 11
-1 votes
1 answer
31 views

Aesthetic URL problem: Website from server02 should look like its on a subdirectory of the main site from server01

www.example.com is on server01 with IP address 192.0.2.123 abc.example.com is on server02 with IP address 192.0.2.21 I actually do not want the subdomain abc. Ideally I want it at www.example.com/...
incognito's user avatar
3 votes
1 answer
679 views

Non-existent subdirectories of index.php do not return "404 not found"

My website usually correctly returns 404 not found errors if I enter names of documents or folders that do not exist. However, I have recently noticed something strange. The homepage of my website is ...
Run_Script's user avatar
1 vote
0 answers
67 views

Can Wordpress Multisite use a nested subdirectory hierarchy?

I have a WordPress subdirectory multisite installed. I have to achieve a 3-tier structure and multisite is based on a 2-tier structure but I though I could try the following: Main domain: example.com ...
Alvaro's user avatar
  • 143
2 votes
1 answer
271 views

Does adding a canonical URL affect underlying (subdirectory) URLs?

I am uncertain about a certain change. We have the following structure. Domain: ranks for keyword X /main-category (has strong relation to domain name itself and possibly cannibalizes the man domain ...
snh_nl's user avatar
  • 653
2 votes
1 answer
28 views

Is it possible to have a site that uses WordPress with some pages that don't

I am redoing an old static html site in WordPress and that's all fine, but there is a section of the site that is in a subdirectory that would be fine to keep the static html. I am building the ...
Anon's user avatar
  • 31
2 votes
1 answer
31 views

Making the contents of a Sub Directory appear more prominent

Lets assume that you own a number of zines or small blogs that are all different in theme, and all rest on seperate domains: http://example-one.com . http://example-two.com . http://example-three.com ...
W. Eless's user avatar
0 votes
1 answer
128 views

How can I solve the same meta title for different subdirectory domain?

I have multiple subdirectory domain (example.com/au, example.com/us,etc) with the same language. I have updated the same title for all of subdirectory domains, but Google just only change 1 of them. ...
Thomas's user avatar
  • 1
1 vote
1 answer
159 views

How to host two Github Repositories on a single domain?

I am using one Github repository to host a portfolio website on the root of my domain. Now I want a separate GitHub repository to host the blog section at the subdirectory of my domain "www.example....
Shubham Pratap Singh's user avatar
1 vote
1 answer
1k views

Adding a subdirectory to a URL using .htaccess

I am trying to achieve the following: This URL: www.example.com/wis/9-3/1998/0.general Redirected to this URL: www.example.com/9440/wis/9-3/1998/0.general So I'm trying to add this subdirectory to ...
jcmaad's user avatar
  • 65
1 vote
2 answers
52 views

Different Domains For Google and Users

We have a shopping cart site with a course attached to it like so: www.example.com is the cart Magento Platform www.example.com/course/ is the course Wordpress Platform Both the sites are linked both ...
Pragman's user avatar
  • 113
5 votes
2 answers
508 views

What is the most SEO friendly way to redirect the main domain to different subdirectories?

I have a multilingual website (English / Hungarian). I need to redirect my domain (mysite.hu) to subdirectories (/hu, /en), based on chosen user language preference (the default is Hungarian). For ...
Catso's user avatar
  • 53
2 votes
1 answer
157 views

Is it cloaking to use translated international content in different subfolders?

I already read all the recommended answers, but they don't give me any help on what I want to ask. I already read the following: Root index.html file of a multi-language website but it does not ...
George Eco's user avatar
5 votes
3 answers
316 views

For SEO should there be a web page for every URL path segment? [duplicate]

If I have a domain with the URL example.com/section-1/abc, should there also be a dedicated web page for example.com/section-1 from a SEO point of view? Assume that there is no bread crumb ...
SomewhereDave's user avatar
1 vote
0 answers
380 views

Mask a subdomain as subfolder and allow access from only from the folder URL [closed]

I have serviceX.example.com and I don't want to move everything, I want to mask the URL so visitors and search engines see example.com/serviceX instead of the original/real location. I don't want ...
Marcos Penia's user avatar
3 votes
2 answers
137 views

SEO: Separate domain targeting each state or one domain with state-specific sections

I'm part of a business based in Western Australia, for example, Online Training Western Australia, currently operating a website on onlinetrainingwa.com.au. Our original goal was to provide the ...
simonlehmann's user avatar
1 vote
0 answers
30 views

Does a different site architecture in international subdirectories hurt SEO?

I have a top level domain example.com, it's a site for the US already well positioned. The business is expanding to EU and we are going to create subdirectories to use the DA of example.com. Like: ...
gisela's user avatar
  • 11
1 vote
2 answers
49 views

Blog on subdirectory

I have a very simple doubt relate to blogs on subdirectories. I have a main website built with WordPress and I want a blog with it. When we read about the recommendation to put a blog on the ...
FabioB's user avatar
  • 13
5 votes
3 answers
6k views

What directory structure is typically used for domains and subdomains on a Linux Apache server

Although I've used MAMP and AMPPS before on OSX, simply for testing purposes, this question is about actual production websites on Apache servers. If I had the domain name www.example.com - if this ...
avenas8808's user avatar
0 votes
0 answers
342 views

In Google Analytics, how to set view filters for tracking subdirectories?

How to set view filters for tracking subdirectories like: http://www.example.com/en/us/?sc_lang=en http://www.example.com/en/us/?sc_lang=de-EU http://www.example.com/en/us/?sc_lang=fr-EU I'm ...
user avatar
5 votes
1 answer
80 views

Moved subdirectory subsite to own domain, how to reconfigure Google Analytics?

We had a website http://mainsite.com that has a subdirectory subsite at http://mainsite.com/subsite. We've split that subsite off into http://subsite.com/ We are still tracking the subsite by using ...
Slam's user avatar
  • 161
1 vote
2 answers
1k views

On-page Markup and Sitemap Multi-language

I have: example.com/en/product-a-en example.com/es/product-a-es example.com/ru/product-a-ru If i use this: On-page Markup Use the lang attribute in the HTML tag: <html lang="en"> Use ...
Helio Elio's user avatar
1 vote
2 answers
122 views

Will moving a Hindi website from a subdomain to subdirectory under an English website affect its SEO?

We have recently changed our Hindi website hosted under a subdomain to a subdirectory of a main website that's in English. What happens if we set the geo-targeting of the website that's under this ...
AbhisheKKSEO's user avatar
1 vote
0 answers
621 views

IIS showing 404 error for CakePHP routing prefixes for instance located in subfolder

I have this Single Page Application built using AngularJS that resides in the document root. The SPA communicates with an API built using CakePHP 3.5.x. The CakePHP instance resides in a folder named ...
miCRoSCoPiC_eaRthLinG's user avatar
9 votes
2 answers
6k views

How to implement WordPress in a subdirectory, hosted on a different server?

I am working with a client who already has a custom e-commerce website set up at their own domain e.g. example.com We want to host their WordPress blog at a subdirectory of their domain e.g. example....
J. Purcell's user avatar
4 votes
2 answers
1k views

Does a site's URL structure need to match its breadcrumb structure?

I'm working on a site where currently almost all pages have URLs like: http://example.com/page regardless of the underlying directory structure of the site. For example in that page the breadcrumb is ...
Sanci's user avatar
  • 61
2 votes
0 answers
233 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 ...
Hamspray's user avatar
0 votes
2 answers
88 views

Website showing up as part of another domain on google

Background I have shared hosting with hostgator and have two domains on the hosting account. My primary domain which is metalbot.org and another domain with is twocan.co. Each of these are separate ...
Jethro Hazelhurst's user avatar
2 votes
1 answer
2k views

How can I mask URLs with subdirectories to display the same URL?

We have a website called example.com I want these paths and their subdirectories: example.com/vip/members/alice/watch example.com/vip/members/alice/bag to be permanently displayed to visitors as: ...
Chics Mamans's user avatar
0 votes
2 answers
81 views

Should I host our new website on a subdomain or new top level domain?

I've been working on a website that sells a variety of mobility and health related products. The website has around 15,000 pages in total, but the brand is soon to launch a new service for money-...
Liam McArthur's user avatar