Tag: Htaccess
Sorted by: Newest Newest Oldest

: Can I permit access to sub-domain from the main domain using the domain name rather than IP address? Stepping into React I want to utilize WordPress's REST API to feed a React site and plan

: How to properly cache a static website .htaccess The problem i noticed with my static website. Is that the css is not renewing itself once I updated the website code at areas (Adding new pictues,

: How could I forcibly output the default 403-forbidden error page when http://example.com/not_found is requested? This is my first question on StackExchange so bear with me, here is a brief breakdown

: Apache basic authentication without instant prompt for credentials I'm looking for away to eliminate the intrusive instant prompt for credentials when basic authentication is used and instead serve

: How can I block who.is and archive.org from getting information of my website with htaccess? who.is is a service that gives people whois information of websites and archive.org automatically saves

: "Invalid command 'php_value'" in .htaccess for WordPress site after switching hosts I moved my site which was on 00webhost to a new host. I set everything up but a 500 internal error shows

: How to use .htaccess to redirect http to https for 3 domains cPanel I have 3 domains. 2 are Addon domains, 1 primary on my cPanel. I do not know if this is possible but from .htaccess how

: Rewrite to SEO friendly URLs for language negotiation with type-map files on plain html files using .htaccess When visiting the website www.example.com/ the visitor should be redirected to the

: Full domain .htaccess 301 keeping same paths, but also redirect some URLs to different paths I believe the following code will redirect my old domain to my new domain keeping the same URL paths.

: How to 301 redirect back to a pretty link without creating an infinite loop in .htaccess I am doing a rewrite from .htaccess file to redirect pretty links to original URLs: RewriteRule ^users/?$

: How do I do an htaccess rewrite on an internal URL without Google crawl giving me a soft 404 error? Here is my issue. I have a rewrite rule in my htaccess like this: RewriteRule ^(news|review|feature|editorial|podcast)/

: .htaccess repeatedly asks for username/password I'm trying to add password protection to my personal website using .htpasswd and .htaccess. When I enter the username and password, I get asked again

: How to pass a match from the regex in a condition to the rule in .htaccess I have an .htaccess file with rules like this: RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d

: Should I be returning a 301 or 403 to a bad referrer in my .htaccess? Getting several amounts of bad requests from a particular URL such as site.foo and I would like to redirect all these

: HSTS Preload section on .htaccess Recently having moved a site to SSL, I looked into enforcing HSTS for eventual preload. The syntax is approved and the Chrome List allows it to be OK.

: Remove query string from 301 redirect we would like to 301 redirect all URL query strings to the corresponding URL path without query string. Our URL look like this: https://www.hunter.games/cs/game/detail/geolokacni-hra-praha-

: Cannot add to cart, logout, or write to .htaccess after changing site address WordPress I recently just changed my Site Address from the admin panel on my WordPress website. After doing so,

: RewriteRule doesn't work for a CSS file and a document when a RewriteCondition is added to test if a name value parameter is in the query string I'm trying to change the DocumentRoot to subfolder

: Htaccess rewrite url is it possible to create a 301 redirect for the following URL string: Original URL: http://www.example.com/old/old-directory/blog-post-1.html Desired destination URL: http://www.example.com/new/new-directory/1.html

: .htaccess with Unicode and normal English I have the following .htaccess code: RewriteRule ^Indian-Patriot-Name/([A-Za-z0-9-]+)/([A-Za-z0-9-]+)/([^x00-x7F]+).*?$ indianpatriot.php?id=&lid=&name=

: XenForo SEO Friendly URL returns 404 on forum page I have my .htaccess file in the base directory of the installation of XenForo. When I enable SEO Friendly URLs, it returns error 404 only

: How to redirect all mobile folder files to main folder file using htacess our previous website have one sub directory called "mobile". So in the main pages we write code if it is screen size

: Compressing third party resources with Gzip on .htaccess I am trying to optimise a website according to PageSpeed Insights, and in the guidelines it mentions compressing third party resources with

: How to use .htaccess rewrite rules to remove .php and folders from URLs? I'm trying to simplify the URLs using rewrite condtions and rules on my local WAMP website. For example I would

: How to use a RewriteRule and Redirect 301 at the same time? I have my Url with multiple parameters: mydomain.com/?vote.php?ranking=parameter1&lang=parameter2&period=parameter3&provider=parameter4

: .htaccess permanent redirection with condition I want to redirect ONLY users from website1 pages to website2 homepage. The google bot and other crawlers must indexing and do not know about redirection.

: 404 errors turning into 500 errors through internal redirects Today I checked my Apache error.log and I found many: Request exceeded the limit of 10 internal redirects due to probable configuration

: Block company domain from apache website how? so I am running a site on apache. I want to block all visitors from domain *.xyz.com I tried adding the following in .htaccess file: <Files

: Use .htaccess to rewrite any subdomain to the corresponding subdir without revealing the subdir I have a little problem with my .htaccess. For example, if I go to test.example.com, it's in folder

: .htaccess RewriteRule leading to unexpected page I'm trying to do a simple invisible redirection with .htaccess which almost work. I'd like my main domain name example.com to access the content

: How do I redirect a URL with a question mark? The ? is not part of a query but used as if it were an actual question. Here's an example: /how-did-penicillin-change-the-world?.html What's the

: Using 301 redirects to change domain and maintain SEO I’m setting up a Wordpress website with a new domain name to replace my client’s current website. I’d like to redirect the old domain

: How do I configure gzip to work on External Resources In order to do this I put code to .htaccess: <ifModule mod_gzip.c> mod_gzip_on Yes mod_gzip_dechunk Yes mod_gzip_item_include file .(html?|txt|css|js|php|pl)$

: How to set up a multilanguage website with different TLDs? I own three different domains: mysite.com mysite.co.uk mysite.de and want to publish my content in english and german. I would like to

: Replace all url start with " m." to without ".m" ( m.example.com/index.html To example.com/index.html) Our previous website has one sub directory called "mobile". So in the main pages we write

: Website redirects to httpss (not https) in Safari and IE but not Chrome I have made a redirect rule in my .htaccess file for https://pg-flowsolutions.com that specifies that if someone enters

: How to redirect any uppercase url automatically to lowercase using htaccess? https://www.privosa.com/Men-Wedding-Rings.html https://www.privosa.com/men-wedding-rings.html Above both URL need to work. I

: Htaccess empty referer deny "google bot" I put this rule into htaccess file to deny empty referers which is returning 403 SetEnvIfNoCase Referer "^$" bad_user Deny from env=bad_user I

: HTTP to HTTPS redirect: How not to create an infinite loop I have a WordPress install on a subdomain: https://blog.example.com To enforce SSL I have the following redirects in my .htaccess: <IfModule

: How can I instruct the browser to cache .jpg files using .htaccess? In my root folder .htaccess file, I have stated: <IfModule mod_expires.c> ExpiresActive on ExpiresDefault "access plus 1

: Simple .htaccess language question (redirection) I do not know the language of .htaccess, thus the newbie question. I have this code: RewriteEngine On RewriteCond %{QUERY_STRING} ^m=1$ RewriteRule

: .htaccess redirect strip old system content from end of URL Looking to redirect all URLs which look similar to this: https://www.example.com/discussion/topix/random-page-title.133760/posts/1255466/rate?rating=13&_Token=78139%2C146

: How to remove subdirectory folders from the url using htaccess I am trying to remove the sub-folders from my site URL. Below is the structure of my folders. I am not sure where to place my

: "Content Encoding Error" when refreshing a page with a tracking parameter Our email marketing system tracks clicks by appending a unique string after links within the email i.e. www.example.com/buy-now?tracking1

: 301 redirect all child pages to parent directory using .htaccess I need to 301 redirect all child pages of a specific parent directory on my website. i.e. redirect www.example/com/parent/child

: .htaccess redirect for one file Somehow an erroneous URL of mine got indexed by Google. Which is: www.example.com/index.php/ All I want to do is redirect it to the same URL without the /

: .htacess - Remove .html from the homepage but not from folders within within that website I'm trying to remove the .html from my landing page, an example would be instead of domain.com/contact.html

: Solving corruption in a .htaccess flle I received a call from Go Daddy indicating that my site had been hacked and the .htaccess file is now an issue. The code in my .htaccess file is as

: How do I prevent a rewrite rule from executing for just one subdomain? In the root level .htaccess I have added a condition to rewrite HTTP requests as HTTPS: RewriteEngine On RewriteCond %{HTTPS}

: Redirect 301 directive for Apache Sub directory and query string combining issue I am getting 404 errors in google console. Some thing like this http://www.example.com/newsite12121212121212/eg/st_tour/perma/

: Should my users' profile page URL be /user/bob or just /bob? Currently, the URL to a user's page is this: website.com/user/bob But I'm considering changing this to be: website.com/bob Without

: Redirect 301 directive for Apache has no effect for URL with query string I have this old link http://www.example.com/?page_id=617/ that I want to redirect to the home page. I've tried to implement

: Temporarily redirect WordPress url with query string from root directory to new url This post seems to have my answer: How can I redirect old WordPress URL (with a query string) to new URL

: I couldn't create .htaccess redirect From /etiket/(any page) to /konu/(any page). How can I do it? In .htaccess file. I searched and applied it but couldn't. # BEGIN WordPress <IfModule mod_rewrite.c>

: Enabling Multiviews is how you make a web server able to open links with missing extensions? I'm in the process of switching web hosts. My old host was of the beginner-friendly 'kid gloves'

: SEO executive .htaccess file knowledge Should SEO executive in a company have knowledge of .htaccess file to make changes in that file or it is the task of developer in the company to make

: If there is no page, redirecting to the other site I moved my site and I want to use the old site. The best way to use both is to show the current pages, if there is no page, redirect

: Setting rewrite rules in httpd.config file at host server I am a new webmaster. I plan to host my website on a dedicated server. The website has three TLD: .com, .ma and .fr. I have a couple

: 410 response code in subdirectory I have an htaccess file in one of my subdirectories. I'm trying to throw a 410 response code for .doc and .pdf files in my uploads directory for my multisite

: Internal redirection: Serve “/site” as “/” and “/sub/blog” as “/blog” I have a website with a shared hoster. There are a few things that I have there, like main site, Piwik, a

: How do I integrate rewrite rules to forbid requests referred from a domain with existing rewrite rules in .htaccess? I have read about how to do this using the following: <IfModule

: My website keeps redirect to the "index.php" account on Instagram app My htaccess code allows example.com/username redirect to any username on Instagram app. But when I open example.com it redirects

: How can I redirect example.com/username to Instagram app directly open from deep link? I'm trying to redirect from example.com/username to Instagram deep link instagram://user?username=anyusername

: .htaccess (AddIcon AddDescription AddAlt) not working on directory .URL files I have recently learned how to use my .htaccess file and a script to rewrite .URL shortcuts into functional links

: When mass redirecting URLs from the old site, can I redirect everything to the home page of the new site for SEO? I need to redirect thousands of URLs to my new site (its the same domain,

: Redirecting domains, sub domains and single pages on Siteground I'm having serious issues with Siteground to get my redirects working. They did work on another hoster so it is possible. However,

: .htaccess to show a page from the main site on another domain I have 2 x domain names https://www.example.com - This is my main site. http://www.example-liverpool.com This is my Liverpool sub

: Redirect to WWW with HTTPS optimization I want to redirect all my website pages to https and www. In order to do that I'm using the rules below and it's working fine. # Rewrite to WWW with

: Htaccess 301 to redirect .com to .co.uk, http to https and non-www to www subdomain I have example.co.uk and example.com domain names. The main website is example.co.uk. I have an SSL certificate

: Edit .htaccess so that homepage of Laravel site mirrors homepage blog I have a Laravel site at example.com and a WordPress site at blog.example.com. Everything works well except that I'd love

: Redirect subdomain to their folders without double slash and such that parameters get sent through login I have a wildcard DNS setup on my server, something like .example.com. In my root folder

: Apache .htaccess: Is it possible to write an if condition for a cookie value check? I want to write an if condition in an .htaccess file to check whether a cookie value is set. Example

: .htaccess redirect based HTTP_REFERER Our webpage was redesigned and moved to a web CMS platform. This means some of our blog posts shared via Twitter just link to a 404 page. I am wondering

: .htaccess doesn't redirect my pages from HTTP to HTTPS It seems like .htaccess doesn't redirect my pages from http to https. My domain is redirected to https but not my pages… Can it be

: .htaccess to force SSL and also rewrite such that the content is served from a sub-folder The issue is how to do two things: force SSL on all requests, and redirect the domain to the public_html/somefolder

: Htaccess force ssl I need to force all traffic for all pages on example.com to https://www.example.com . After much googles, and hosting site help docs, the consensus (and what my hosting -

: Rename translated documents into ending language initials I am building a web app and trying to add two languages to the website. So I will make the same documents ending in -gr. Some examples

: Make .URL shortcuts into functional links within a Directory Listing I use a lot of directory listing on my website and want to make .URL shortcut files into functional links. These .URL shortcuts

: Url rewrite not work in wamp localhost I am developing a PHP web application. I have pages, posts, categories, product and etc. Here is my .htaccess file to create SEO friendly URL: Options

: How to tell google that domain no longer exists but still make redirects from that domain I have two domains: example.com and dev.example.net. example.com is the active one and dev.example.net

: URL-path with encoded question mark results in incorrect redirect when copied to target URL I have a simple RewriteRule, appending a string to some URLs: RewriteRule ^labels/([^/]+)/?$ /labels//releases/

: Redirect from URL with parameters to SEO friendly URL in .htaccess I have category page with this structure example.com/Category.php?Category_Id=10&Category_Title=some-text i want to write htaccess

: Htaccess / FilesMatch / DirectoryMatch allow .jpg .html and directories Navigation in my site is like this: www.example.com/pictures/cars/ etc I am trying to allow only .html and .jpg in these

: "Require valid-user" in "" section of .htaccess not password protecting directory I am trying to lock a folder called locked with the encrypted user passwords stored in .htpasswd. This does

: Chrome reports a cross-origin font issue despite Access-Control-Allow-Origin header Chrome: "Font from origin 'https://example.com' has been blocked from loading by Cross-Origin Resource Sharing

: Redirect domain except those users coming from a specific IP address I've got a Apache web server that serves 2 domains, now in my school one domain is blocked; one isn't (same webpage for

: How to block my cpanel link for the users who are accessing my website. I want to block my cpanel link i.e www.example.in/cpanel for the users who are trying to access it, but it should be

: If .htaccess is used to block my bot from accessing a particular directory, will I know this? I'm working on a research project and I have a question. Say I would like to crawl all pages

: Use .htaccess to make pretty URLs that expand abbreviation codes Yes, I know, there are tons of questions like this, but I can't find one which solves my problem so at cost of receiving downvotes

: Send "410 Gone" response for URLs that are a "c" or "g" followed by digits Is there anything i can use in my htaccess to send 410 code to all the links but not some links ? Example: I

: How do I do a 301 redirect of specific pages with a catchall for any pages not specified? We are changing domains and need to redirect old pages to new, and then create a catch-all to redirect

: Nginx server - Wordpress - .htaccess I am running an Nginx server with Wordpress installed on it. The Wordpress installation has an .htaccess file in its root. Now I read that Nginx doesn't

: Duplicate title tags and meta descriptions after removing .html extension from files Google Webmaster Tools/Search Console is giving me errors regarding duplicate title tags and meta descriptions.

: How do I create flat link URL with .htaccess I am relatively new to URL rewriting. I recently created a forum and wishes to rewrite some of the thread URLs. I want to internally rewrite

: Redirect 301 from old domain to a new one affect google rank I did the redirect from my old domain store to a new domain using 301 rules on .htaccess as simplified below: Options +FollowSymLinks

: Force ssl - 301 redirect not working I created a 301 redirect in my cPanel to force ssl. It is not working. The last two lines were created with the cpanel for the redirect. RewriteOptions

: Execution order of different htaccess redirects It seems that no matter what I search I just can't understand why I keep getting this issue and I for some reason can't find a good explanation

: RewriteEngine On showing Apache test page I have centos 7 and I need to put this .htaccess file inside one of my directories (www/html/forum) in order to display friendly URLs so instead of

: Redirect old url with several dirs to first level I've a lot of url with same estructure /blog/<category>/item/<slug-article> Such /blog/administracion-sistemas-unix/item/named-run-gigante

: Transparent redirection from domain to subdomain I have a main domain name : maindomain.com, on which I can access DNS configuration and current linked server (only files, not configuration) and
Next Page
Terms of Use Create Support ticket Your support tickets Powered by ePowerPress Stock Market News! Top Seo SMO © vmapp.org2023 All Rights reserved.