HTACCESS Joomla & Wordpress SEF-url's

Mar 23, 2009

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.

View 1 Replies


ADVERTISEMENT

Apache :: HTAccess - Redirect Only One Kind Of URLs

Jan 28, 2014

This redirect redirects all subpages of a domain to another domain while not redirecting to index.php but to same page, only at another domain:

RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^cz.hq-scenes.com$ [NC]
RewriteRule ^(.*)$ http://cz.hq-scenes.com/$1 [R=301,L]

I want to achieve that only pages like /viewtopic.php...............

will be redirected (............. means any other characters)

How to redirect all viewtopic.php pages only? How to modify it? 

View 2 Replies View Related

AddType In HTAccess Causes Apache To Serve Bad URLs

Nov 15, 2013

My website is on 1and1 shared hosting and to enable PHP I needed to put in my .htaccess the following

AddType x-mapp-php5 .php .html .htm .shtml

View 11 Replies View Related

Plesk 11.x / Windows :: Wordpress And Joomla Update Error

Feb 18, 2013

I have a problem. I am running Plesk 11 with Windows 8. I installed wordpress and joomla. If I want to make one update from joomla 3.0 to 3.0.3 I get the error Internal Server error 500.

In Wordpress I get a error, too: By the update from 3.5 to 3.5.1 i get the error: The directory is write protect or not available.

In WordPress I instert in the wp-config.php following.

define( 'WP_TEMP_DIR', ABSPATH . 'wp-content/' );

Now, does the updates to WordPress and plugins work.

My question is, I am running not only one website with WP. How can I make the settings for all WP instances running on the server? And How can I fix it with the Joomla update?

View 3 Replies View Related

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?

View 4 Replies View Related

Temporary Urls

Jul 13, 2009

how can i provide temporary urls for users on my server like [url]until the actual domain resolves? ive seen this done in with cpanel but i dont know how its done exactly. my current server does not have cpanel.

View 11 Replies View Related

Way To Protect URLS

May 23, 2009

Are there any scripts out there that can protect URLs? For an example I am trying to protect a megaupload.com URL with a masking URL and making sure that the masking URL is only access by a referral site. Can this be done?

View 1 Replies View Related

Blocking Outside Urls

Jul 19, 2008

Let's say you want to protect againts hacking,and using method with simply blocking loading url.So let's say someone hacked your index.html and changed links to lead to his domain.com.Is it possible to block what would be loaded on site ?(to prevent possible future hacking intrusions)

View 6 Replies View Related

Blocked URLs

May 4, 2008

I'm testing scripts on new server now, and server has 2 problems.

1. I can not enter domain name as "get" parameter. For example, if I'm requesting URL like domain.com/file.php?url=[url] - it does not work. If I'm requesting URL like domain.com/file.php?url=[url](please note it has INVALID extension for TLD) - it works!

2. fsockopen and file_get_contents does not work. I added these settings into php.ini:

allow_url_fopen = On
allow_url_include = On

...and nothing works. I get just blank pages when using these functions.

Server is running cpanel + apache 2.2 + php 5 + APF firewall

View 6 Replies View Related

Strange Urls In 404 Logs

Aug 15, 2008

I just found hundreds of rubbish urls in awstats for a particular domain. Is this referrer spam or something more serious and can I do something about this?

I have attached a screenshot.

View 4 Replies View Related

Apache :: How To 301 Redirect Non-www To Www URLs

Nov 30, 2013

1.Find .htaccess file in root folder
2.Open .htaccess file
3.Delete all content
4.Type in this code(using your domain ):

<IfModule mod_rewrite.c>RewriteEngine onRewriteBase /RewriteCond %{HTTP_HOST} !^www.example.co.uk$ [NC]RewriteRule ^(.*)$ http://www.example.co.uk/$1 [L,R=301]RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]</IfModule>

View 3 Replies View Related

Apache :: 2.4.3 Not Generating Correct URLs?

Aug 22, 2013

We're running Apache 2.4.3 on Slackware 14:

LCMlinux ~> uname -a
Linux LCMlinux 3.2.29-smp #2 SMP Mon Sep 17 13:16:43 CDT 2012 i686
LCMlinux ~> httpd -v
Server version: Apache/2.4.3 (Unix)
Server built: Aug 23 2012 11:07:26
LCMlinux ~>

We are using this both for the Trac issue-tracking application and for a small, simple internal mirror web site. Trac is working perfectly; the web site works if exact URLs are provided (as in <a href=...>

View 7 Replies View Related

Search Engine-friendly URLs On Server API: CGI

Sep 27, 2007

One of the sites I have, is placed on a non-Apache server (the others are). Phpinfo() gives this:
Server API CGI

I'd like to make search engine-friendly URLs for all my sites. All of them will do fine with mod_rewrite, but that's not possible on this server, it seems. Anybody here knows how I can do this for this particular server?

View 1 Replies View Related

Apache :: Trying To Rewrite URLs With Query Strings

Feb 23, 2013

I need htaccess file for one of my sites. I've searched everywhere, and I can't find a solution for my problem.

System Info:
Easy Apache v3.18.1
CentOS 6.3 (x86_64)

So I'm trying to redirect all URLs in a certain query range to a new website. i.e.,

mydomain.com/?p=35000
mydomain.com/?p=35001
mydomain.com/?p=35002
mydomain.com/?p=35003
etc.

all need to 301 redirect to myotherdomain.com

I don't need to append each query to the new domain. All the URLs simply need to redirect to the naked domain of the other site. So

mydomain.com/?p=35000 is not redirecting to myotherdomain.com/?p=35000

It is simply redirecting to myotherdomain.com

Also, I need to redirect the specific series ([35000-35999]) to the new domain. I want to redirect the www and the non-www URLs.

I've attempted to write the code myself, but when I upload the htaccess file, the URLs are not redirecting. I'm doing something wrong.

Here's what I've tried:

Code:

RewriteEngine on
RewriteCond %{HTTP_HOST} ^mydomain.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.mydomain.com$
RewriteCond %{QUERY_STRING} ^p=([35000-35999]*)$
RewriteRule ^(.*)$ "http://myotherdomain.com/" [R=301,L]

View 2 Replies View Related

Apache :: Rewriting URLs Before They Are Returned To Client - How?

Apr 24, 2013

I need to accomplish the following:

1. User hits my new 2.4 reverse proxy at [URL] ....

2. I proxy the request through to my "real" app server at [URL] ....

3. I also use a re-write rule to add a querystring to the URL: ?Parameter=Foo

4. So, client's request arrives at the my app server as [URL] .....

5. When my app server responds, it is including the Parameter=Foo key/value combination. I don't want this.

6. I want my reverse proxy (somebox.com) to strip "Parameter=Foo" from the string which gets returned to the client.

I have steps 1 & 2 working nicely, but it looks like I can't handle the last bit with with mod_rewrite. I found mod_filter and mod_substitute, but it appears that this stuff is used for re-writing strings IN the document. Can these libs be used to maybe modify (I'm guessing here) the headers so that the "?Parameter=Foo" string can't be seen on the client if they're running something like fiddler?

View 3 Replies View Related

Apache :: Mod Rewrite To Overcome Relative URLs

Jun 3, 2013

I've taken over a site that caters for client access. They all access there own folder, and in the folder the files have an include with a relative path as below.

/core - contains all the actual files
/client/file.php -
<? include "../core/file.php";?>
but with the growing number of clients I want to go a level deeper and separate them better...
/uk/client/file.php -
<? include "../../core/file.php";?>

This is fine but when the files are included, they too have there own relative includes and this is where it breaks.
There are so many files I can't easily go through them to change all the include paths so I would like to maybe do a rewrite to fake the path? I've tried this...

RewriteRule^uk/$ /

But that doesn't work.

View 2 Replies View Related

Apache :: Logwatch 404 And 503 Errors To External URLs

Mar 11, 2015

I used a little vServer with ubuntu (turnkey) and use logwatch to be informed by email about any errors. I'm confused about the following errors from Apache:

--------------------- httpd Begin ------------------------
Requests with error response codes
404 Not Found
http://translate.google.com/gen204: 1 Time(s)
http://www.teddybrinkofski.com/ip_json.php: 1 Time(s)
503 Service Unavailable
http://www.google.com/: 1 Time(s)
---------------------- httpd End -------------------------

These errors are definetly not from my own code. I have checked that mod_proxy is disabled and i disabled also CONNECT like here described: [URL] ....

What does these errors mean and how can i disabled this?

View 4 Replies View Related

Apache :: Adding A Header To A Number Of Requested URLs

Oct 23, 2014

I am attempting to add a header to a number of requested urls i.e. domain/feeds/chicago, domain/feeds/*.I understand that this can be achieved by

•using mod_rewrite to set an environment variable
•using mod_headers to add a header based on the existence of an environment variable.

So far I can add the a new header thus Header add RSS_FEED_URL "Akamai-Edge-Control"

View 1 Replies View Related

Apache :: URLs Ending In / Show 404 When Exploring With Google Bot In

Nov 7, 2012

I have a WP online shop using WP E-commerce plugin 3.8.9 together with the SEO Yoast plugin.My problem in that when exploring the product URLs ending with / in google webmaster tools, it displays 404. But the same URL without / is found and ok. I must day that both URLs show up correctly in browsers and the non / version is redirected to the one ending in /.Here is my .htaccess:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

I could solve this problem by setting a redirect to non / URLs instead.

View 3 Replies View Related

Plesk 12.x / Linux :: XenForo Nginx Friendly URLs

Jan 28, 2015

I'm trying to use nginx php-fpm on my forum, and to set friendly url's, I am told to add this to nginx config:

Code:
location / {
try_files $uri $uri/ /index.php?$uri&$args;
index index.php index.html;

[Code] ....

I try adding this using the Additional Nginx Directives, and get this error:

Code:
Invalid nginx configuration: nginx: [emerg] duplicate location "/" in /var/www/vhosts/system/domain.com/conf/vhost_nginx.conf:1 nginx: configuration file /etc/nginx/nginx.conf test failed

I think if my domain was in a folder, this wouldn't be a problem. I really don't want to change that, though.

View 3 Replies View Related

Plesk 11.x / Linux :: URLs With Special Characters - Error 404 Not Found

May 28, 2014

I'm migrating some websites from old server with virtualmin, some websites have files with special characters as à,ö,ç etc...

On the other server the files (images for example) are served well but on the new server with plesk 11.5 error 404 appears. (Nginx reverse proxy is activated)...

View 2 Replies View Related

Plesk 12.x / Linux :: HTTP 414 Errors On URLs Only 256 Characters Long

Oct 29, 2014

My Linux (CentOS) server with Plesk 12 is giving HTTP 414 errors ("URL too long") in response to URLs which are over 256 characters in length. They happen to include a GET variable in the query string which accounts for most of this length, and if I shorten it manually, it works. But I can't change the script to submit a shorter URL or send it by POST, because it comes from an external payment processing server which I don't control.

Adding the following lines to my /etc/httpd/conf/httpd.conf file and restarting Apache does not work:

LimitRequestLine 8190
LimitRequestFieldSize 8190

The URLs I'm trying to use are well short of 8190 bytes; they are around 800 characters long.

Is this something that Plesk affects / can control? Is there a way to see what the current maximum setting for URL length is, and to change it?

View 14 Replies View Related

Plesk 11.x / Windows :: URLs With Special Characters - Error 404 Not Found

May 28, 2014

I'm migrating some websites from old server with virtualmin, some websites have files with special characters as à,ö,ç etc.. On the other server the files (images for example) are served well but on the new server with plesk 11.5 error 404 appears. (Nginx reverse proxy is activated)

View 1 Replies View Related

Best Host For Joomla

Jan 30, 2009

I am currently on a host that is offering unlimited bandwidth, however they are not that great as the site keeps going slow.

View 18 Replies View Related

Webhost -use Joomla

May 10, 2009

I am in charge of making a website for a charter school. Where I stand right now is I am going to use Joomla, and I assume Fantastico. Now where I am still stuck is with a webhost. Every time I locate one that sounds good (editor's picks, and such), I read the feedback comments and find tons of complaints. Can someone recommend one please. Under $10; user friendly; accepts Paypal would be very helpful. I went to get Bluehost, as an example, from some reviews I read, and then I read the feedback section. I don't think I understand the terms enough to make a choice on my own,

View 14 Replies View Related

Joomla + VPS Performance

Dec 9, 2008

I currently have a VPS in the UK that I host my clients joomla sites off and the specs of this VPS server are as below:

- 20 GB SA-SCSI Disk Space
- 350GB bandwidth
- Full root access / Parallels/WHM/cPanel
- 2 Dedicated IPs
- 384 MB SLM RA

I am now running around 10 joomla based sites off of this VPS, 5-6 of which are Ecommerce based sites. Whilst I am probably only using 10gb of the overall disk-space so far, in terms of performance, should I continue to add clients to this server or should I keep the more hungry sites on this server and move some of the less resource intensive non-ecommerce sites to another VPS? Or would it be in my best interest to upgrade to a Dedicated server where I will have all my own resources?

View 6 Replies View Related

Joomla VPS Host

May 20, 2008

I have a joomla site running on a new unmanaged VPS at FutureHosting.biz and it is performing very poorly.

I am not a server admin but i copy the same CMS and database to a shared account i have access to and the site runs much faster. That shared account happens to be a SiteGround server which if possible, i would like to stay away from.

I have had bad experience with SG so i am contemplating, MidPhase, as an option for VPS support.

I was also considering LunarPages and HostGator but their recent datacenter problems and poor reviews i want to stay away from them as well.

I really want to find a quality host who has experience managing large joomla based sites.

View 13 Replies View Related

How Secure Is Joomla

May 7, 2008

Is it good security wise?

View 11 Replies View Related

Joomla With Linux

Jun 1, 2008

I have installed joomla and now i m installing some extension but when i install extension i m getting error ------------>

JFolder::create: Path not in open_basedir paths
Unable to create destination

View 1 Replies View Related

Hosting For Joomla

Jun 15, 2008

I am going to start a new personal / business website which will feature articles along with pictures and few videos, all managed through Joomla. I recently visited the official Joomla forum and found a thread which posted guidelines on choosing a proper Joomla hosting.

forum.joomla.org/viewtopic.php?t=95678

3. The most security conscious hosts turn PHP's Register Globals directive OFF by default. The next best allow you to turn it off in local .htaccess or php.ini files. A host that requires you to run a site with Register Globals ON should be avoided. This is true for any PHP enabled site, whether or not you are running Joomla!. There is a legitimate argument to be made by hosts for keeping Register Globals ON for PHP4 sites. This is that it would break too much legacy code. This argument should not be accepted for a PHP5 installation. Beginning with PHP5, the official PHP recommendation was to keep Register Globals is OFF. Note that beginning with PHP6, there will not even be a Register Globals setting, so don't get caught in a Register Globals backwater. Modify your code to work without Register Globals, and choose a host that encourages such practices.

6. Be sure users on your shared server can't view each other's files and databases, for example through shell accounts and cpanels.

7. Choose a host that provides real information about security compromises, rather than simply shutting your site down. Check their user forums for evidence of how they've responded to cracks in the past. A good host may for example, inform you immediately that a security breach has occurred and will quarantine the problem file for you, while leaving it there for further investigation. A poor host will shut your site down and provide very limited information on why. Watch out! All too many do this.

8. Be sure you have access to raw server logs. Reading these logs is a vital part of site security and recovery.

9. Choose a host that limits the number of users per machine and the average CPU load per machine to some reasonable number (depending on hardware). Be sure they proactively move user sites as needed to balance load. Check the number of domains on a server using reverse IP lookup.

10. Choose a host that manages it's own data center. Check the data center infrastructure, such as redundant Internet access, hot swappable backups, full daily backups, environment and access controls, emergency generators, etc.

11. Check that your host is not at risk of having its IP addresses blocked because it hosts porn or SMAM sites.

What alarmed me was #3, #6-#11

My Question is, how the hell am I supposed to check for these flaws? I thought I was going to settle down with Hostgator or Hostmonster, but now I am not sure.

If Hostmonster or Hostgator do not meet these requirement, can someone be kind enough to suggest some?

I don't expect that much of traffic, so I want to keep the budget minimal: below $8. I know that by limiting this budget, I am limiting the quality of hosting, but I am not ready to commit my resource to my first site: just an experimentation of my limits.

View 10 Replies View Related

100% Joomla Compatible VPS

Dec 4, 2008

I currently have a VPS server and I run a lot of joomla based sites for my clients and having done a bit of research, mediatemple has come up as being a well-recommended hosting provider for joomla based installations in the sense that the servers are all ready and configured for joomla, where chmodding does not need to be done once a joomla installation has been done - something I find very tedious after each joomla install.

Can anyone recommend a Manage VPS provider that would fully support Joomla from the point of when its first installed and its ready to go like I have said above and also be able to keep the joomla sites running optimal performance.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved