Hide the subfolder from appearing in url

I want to move from www.example.com/_/randomfolder to example.com/randomfolder. It should acces the contents from /_/randomfolder but should show example.com/randomfolder.

What I have tried:

Trial 1

RewriteEngine On RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteRule ^(.*)$   http://www.%{HTTP_HOST}/$  1 [R=301,L,QSA] RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$   https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] 

Problem: it full fills my requirement from /_/randomfolder but should show example.com/randomfolder but affects my main domain example.com it shows nothing, only a 404 page. I want it to show public_html/index.php only.

Trial 2:

RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d #To load site from  /_/xyz to /xyz  without hcanigng url RewriteRule ^[A-Za-z0-9._]+  /_/%{REQUEST_URI} [L] 

Problem: I have to manually change the address bar from www.example.com/_/randomfolder to example.com/randomfolder, it load contents with or without _ but on first time load its redirects to /_/random folder.

Use a domain, sub-domain or sub-folder for adding a physical location to an existing content website?

We currently have a global photography website located at https://phmuseum.com. We will be adding a physical location, school/events space in Bologna, Italy this year. We will be targeting the services this physical location mainly to local Italians but also a lesser extent Europeans and Globally.

We will create a microsite for bookings and promoting this space in Italian and English.

What would the best route to take in terms of targeting and SEO to add this website to our current offering? As I see it there are a few options or a combination of the following:

  • Sub-folder: https://phmuseum.com/space (/en & /it)
  • Sub-domain: https://space.phmuseum.com (/en & /it)
  • Domain: https://phmuseumspace.com (/en & /it)
  • Domains: https://phmuseumspace.it (local) && https://phmuseumspace.com (global) (Hreflang)

We could even go hyperlocal with https://phmuseumspace.bo.it

Any thoughts, recommendations or suggestions would be welcome.

Problem with two WP installation on root and subfolder

Let me give you some context.I have a website.com and website.com/blog with each their own wordpress instal

I created the the blog in the first place, and then the “main” wordpress.

The weird thing is that now, when I want to go to website.com, it automatically redirects me to website.com/blog.

And sometimes it is the opposite, the website works, but the /blog is not existing anymore… (404 or just blank page) And these two cases are shifting from one to another (not sure how)

Any idea why this happens ?

Thanks for your help !

Sharepoint Unique Permission Subfolder broken

I have library with the following tree structure.

Library > Folder 1 > SubFolder A > Files

All folders and subfolders have unique permissions. All files have unique permissions. All folders and subfolders have the same groups as the library, but if I delete a specific group from the library, the group gets deleted from the folders, subfolders, and files. ¿How can I delete a group from the library, without deleting it from the files and folders?

SharePoint files getting moved from subfolder to root folder

I am having issue uploading files to a subfolder in a document library, the uploaded file in a subfolder automatically moves to the top level in the document library.

There is no sync client configured for this document library. This is happening only with a single document library.

Can anyone assist?

Thank you

Can I have a Form Library within a Document Library as a sub-folder?

I’m creating a team site and we need a Document Library titled “Safety”, for safety documents. These include training PDFs and Excel Spreadsheets. However, we also have a form we fill out for incident reports. I would like a sub-folder in the Safety Document Library titled Incident Reports. This would be a Form Library keeping track of the safety incidents we need to report. I cannot find a way to embed one library within another – it will only allow either a Form Library or a Document Library and I cannot seem to achieve what I need. Has anybody had any success with this? I can’t imagine this is that uncommon to fill out forms that are required to be stored in a document library, keeping everything in one main folder.

MS Flow to Move file inside Sub-Folder in Document Library dynamically

I am creating MS Flow to move files between libraries. Source & destination libraries contains same folder structures & Subfolders. When file is created in source sub-folders, it should move to respective subfolders dynamically to Destination Library based on where they created on source.

In Move File Scope, i chose Destination Folder: FolderPath/FileNamewithExtension

but I got error.

Please advise me on this.