Hi,
I'm running a Joomla! website and I'm experiencing some performance issues.
I ran into this problem a while ago and after extensive testing the host figured out it was an issue with the hard-drive combined with a CPU that couldn't cope and to low memory. So they gave me a new server with a...
Hi,
This may sound like a silly request... but here goes. I want to get the current URL from the address bar. The right side of the URL to be more precise. This is done by $_SERVER['REQUEST_URI']. However I need to "get" the url in a PHP file, but the URL that I get when I get it in that php...
Hi,
I'm trying to dynamically change parts of an array.
This is the array:
Array ( [/components/com_jcomments/js/jcomments-v2.1.js?v=7] => text/javascript [/components/com_jcomments/libraries/joomlatune/ajax.js?v=3] => text/javascript [/media/system/js/mootools.js] => text/javascript...
Hi,
This has been asked and answered before. But just to make sure I want to go over own situation. After the cables are installed, I don't plan on taking them out to "fix" any problems. So I want to get it right on the first try :)
Here goes:
It's an office setup.
We have 8 pc's (incl...
Hi,
I've been reading up on this and I've been trying out a fair few different .htaccess solutions for my problem but to no avail.
My "problem" is that I want to compress html, css, php, xml, js and maybe images when people send a request to my server AKA visit my website.
Every "solution" I...
Hi,
After much Googling, searching on other forums and searcing here without any result, I'm gonna give asking here a go. Hopefully someone can help me.
At random Print Screen stops working.
If I want to make a print screen of my screen and I try to copy this into photoshop or paint, I just...
Hi,
I have the following HTML code:
A line of text, which is of any length. Ohw yes it is!<br /><br />
<h2>And a header</h2>
<img src="image.jpg>With an image and a <a href="/">link</a>. With some more text.
After "cleaning" the code, I want to end up with the following:
A line of text...
I'm using Joomla and third party content manager which runs on taoj_contentmanager.1.0.4
In the contentmanager a user can create an article which must have a "Introtext" (this is checked by the JCE editor).
They can also fill in a Fulltext, in my case I want to user to always enter a fulltext...
The first rewrite (example.com/us/ -- 301 --> example.com) is done by .htaccess.
Is there a way to get the URL where someone came from eg. exmaple.com/us/? Or to get the 301 header from the rewrite?
With kind regards,
George
I have a website:
http://www.example.com with several different languages aka:
example.com/us/
example.com/uk/
example.com/de/
example.com/fr/
etc...
Based on your IP, using a GeoIP script, you are pointed towards the right language except for languages from the EU (except UK). Those are done...
I want to rewrite all https:// url's to http://
After searching on Google and this forum I found the following post on:
http://www.webmasterworld.com/apache/3194726.htm
mikemwe uses the following code:
RewriteEngine on
RewriteCond %{SERVER_PORT} ^443$
RewriteRule ^(.*)$...
I had a rewrite rule that rewrote index.htm to index.php. Worked like a charm but looking back on it I wanted them both to be redirected to www.mydomain.com.
I did this using the following code I found using Google:
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.htm\ HTTP/
RewriteRule...
I want to rewrite http://domain.com to http://www.domain.com
I have several questions:
I tried the following already:
RewriteCond %{HTTP_HOST} ^domain.com [NC]
RewriteRule ^(.*)$ http://www.domain.com/$1 [L,R=301]
and
RewriteCond %{HTTP_HOST} !^www\.domain\.com [NC]
RewriteCond...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.