Apache :: Will Editing HTAccess File In Cpanel Effect All Wordpress Domains And Subdomains
Mar 26, 2014
I added the following to my cpanel .htaccess file on my hosting account:
<FilesMatch ".pdf$">header set x-robots-tag: noindex
</FilesMatch>
This was to stop Google from crawling and indexing my PDFs, will this work accross all my addon domains and subdomains (which are wordpress) on my hosting account or do I need to take extra measure?
I am trying to set up domains and subdomains, on my webserver, however the domains are resolving, but when accessing a subdomain I get a 500 internal server error, permissions on files are the same on both domain and sub domain level.
My virtual host files looks like this for domains and for the subdomains, and I am using Apache 2.4.7, on an ubuntu 14.04 running on a rackspace cloud server.
Lets say I have abcd.com as the main domain on cpanel. abcd.com has 10 subdomains.
Basically what I want to do is when I do an addon domain or parked domain I want the subdomains to basically point to abcd.com automatically. Let's say the addon/parked
domain is 1234.com For example I have sub.abcd.com as the main subdomain
so when I type in sub.1234.com I want it pointed to sub.abcd.com internally meaning the script/files from there however in the browser show as if it were sub.1234.com
I'd like to change /comp.php to /comp but I have only found articles on how to remove .php completely and I don't want to do that, only want to do it for this one file.
I have learned some bits of regular expressions for simple scripting, writing a .htaccess file is, uh, syntaxically daunting.
THE CASE :
The URLs of my site used to be of the form [URL] ... . They are now of the form [URL]......
I am trying to perma-redirect (301) the old format (affiche_fiche.php) to the new format (fiche.php) using a .htaccess.
So far all I have achieved is a hatred of punctuation signs. What's the correct syntax to have a .htaccess that does the redirect ?
THE CONTEXT : The format change took place more than six months ago, but the Google Webmaster Tools still spits 450 problems a day with 404s on URLs using the old format. I had assumed that these would just fade away, but they don't. So I guess that 301'ing them is cleaner. Or would be, if I understood the syntax.
I want to upload the custom 404 error page and .htaccess file to my website but .htaccess is not working on my web server. I have use the correct file name and try it many time but no result I have found. My web server is Microsoft IIS 7.5
I have installed wamp for editing word press theme every thing is ok but when I create new data base and start configuring my wordpress project file optional message appear when I click submit what should I do ?
In my personal website at URL.... I have the top like 'index.php?pg=profile', 'index.php?pg=home' or 'index.php' (without any querystring), 'index.php?pg=diary' etc. I am looking to see if I can have .htaccess file which can make me create links like
I was trying to set up archive-my-tweets [URL] .... and I seem to have gotten stuck with a 403 error. When I remove the .htaccess file the 403 goes away but so do the rewrite rules so that's a problem.
You'll see the contained .htaccess file that's included in the project.
Basically for now I'm just trying to run this on my mac. I have set up the files in a subdirectory of my personal web server. The personal web server is working fine--but when I go to the /tweets directory I get the 403.
There is 1000MBPS network set up between three computers and server.
Server has files which program saves.
Program is being run in three different computers.
Each computer tries to get into same file (eg last bill) that was created before. First computer goes in within seconds. second minutes and third just crashes. No matter which computer runs it first, last one crashes.
So called "server" is running on Windows XP pro since it just needs to keep one program files. However I cant find out whats causing file sharing over network bug that crashes access to same file if connection from many computers.
I just picked up a WiredTree VPS account, but have never really dabbled deep into server-related knowledge. I was wondering what one would do to rid of the "Great Success!
Apache is working on your cPanel® and WHM™ Server" pages when subdomains are accessed?
I'm trying to figure out how many domains and subdomains I can get with each plan from Network Solutions, Enom and Yahoo. Is there any set standard of number of subdomains per domain? Network Solutions gives you one domain for two of their plans, three for the third, but says nothing about subdomains...
I have a main domain "main.com" and when I make a new addon domain "new.com", it creates a new DNS Zone for "new.com" but also adds a subdomain DNS entry to main.com "new.main.com".
I know that is very typical way that cpanel works, and I know there are ways to work around this by using .htaccess.
What I am trying to discover is if removing the "new" subdomain DNS entry under main.com could cause any problems. Are there side effects? Will this break anything within my VPS?
I am developing my website and the standard htaccess is for SearchEngineFriendly URL's with Joomla.
I have chosen to have a blog with Wordpress... only in Wordpress I can't get the SearchEngineFriendly URL's... because then the Joomla site doens't work anymore...
Does anyone have suggestions for a solution? So I need a HTACCESS file where as well Joomla as Wordpress can generate SEF Url's.
subdomains on my dedicated server with co.il endings (israeli) dont work though with com domains they do work i anybody has a clue for fixing this? maybe its DNS directing problems.
I am having a problem on my VPS. I am running the latest version of Apache on Windows Server 2K3, and after editing httpd.conf to allow virtual hosts (#Include /conf/extra/httpd-vhosts.conf) and trying to restart the service, an error appears saying the operation failed.
I have even tried restarting/starting the service via services.msc
If I am not using the default httpd.conf Apache will not restart at all... it is very strange. I have also tried doing a repair of the installation of Apache.