The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Hot answers tagged

6

With the core routing system, there isn't a practical way to accomplish it. You can use a tool like sh404SEF to achieve this though.


6

Do I understand correctly that you want to make your website on your local computer on the Internet? Apart from the poor uptime that you will experience with this you will need a number of things: 1) Create a tunnel/ server address of your local computer on your Internet Router. This will also mean you will need a fixed IP address on your local network, ...


6

I'm pulling from non-Joomla SSL proxy experience here. However, I believe it will work. Configure nginx to send an X-FORWARDED-PROTO header with a value of "https" proxy_set_header X-Forwarded-Proto https; Configure Apache to set the HTTPS environment variable to "on": SetEnvIfNoCase X-Forwarded-Proto https HTTPS=on Once you have those configured, ...


4

Since you're using XAMPP, I assume you're developing the site on your local computer. There's no reason to compress CSS/Javascript (or use Gzip) on a local development site. It makes no noticeable difference, and debugging get's a lot harder. Leave compression disabled until your site is ready, then try activating the settings on your online server and see ...


4

I have already taken the "plunge" to nginx, and my findings: .htaccess rules are one of the main problems, but can be overcome by "translating" them to nginx configuration instructions (you can do them by hand, but there are some handy tools on the internet to help you convert them, like this one: htaccess to nginx converter) Note that in some cases having ...


4

I managed to piece together a solution without using .htaccess, though I'm interested in a cleaner solution if somebody has one. I created a system plugin that really does nothing in the conventional sense, in that it has no methods except _construct (). In the _construct() method, I simply checked for strings in the URI that were found in the old links ...


3

Likely Joomla will work without issues even with the php's tmp directory not being set. However, if you get issues, or simply want to get rid of this warning in you Joomla Admin, then you have to define in your php configuration the upload-tmp-dir directive. Note that setting up the hosting/server environment is not exactly a Joomla question. There is ...


3

If your admin area works widthout .htaccess its possible your joomla config has rewrite option enable. You can try edit your configuration.php file and change the status directly in configuration file: $sef_rewrite = '0'; $sef = '0'; $sef_suffix = '0';


3

Since this is one of the most common questions around Joomla, I though to share a new extension I came across that deals with it. Plugin: Direct Alias Pro For those people that don't want to mess with the extended capabilities of the majority of SEF extensions, this a much simpler plugin, that one of each features is to remove ids from articles, categories ...


3

If you create a menu item for each of these then the menu item alias is used for the URL instead. The menu you create these links in doesn't have to be published on your site, it's enough that the menu item exists in menu manager. You can create a new menu called 'dummy links', or whatever you like, and create links to your categories and articles there. ...


3

The files should be owned by your FTP user, which may be root for you if you are setting up a dedicated server manually. The entire goal of the article was to allow you to still be able to change the files, with "you" in this case expected to be someone accessing a shared host over FTP. You're not expected to have root access to the server.


3

Robots.txt and Google I am also negatively positioned against the robots.txt file. I don't like it at all to announce publicly the directory tree of my Joomla sites. Considering the recent changes in Google's algorithms, that are now looking for Images, CSS and JS files, in order to fully fetch and render a webpage, I am looking for ways to allow the ...


3

You can find a solution here: http://forums.ukwebmasterworld.com/threads/hide-your-robots-txt-from-visitors-and-show-it-only-for-validated-robots.7256/ This will block robots.txt from everyone except googlebot, Yahoo Slurp and msnbot. But again, Why would you want to hide it? It is perfectly OK to keep robots.txt accessible. Pretty much every website ...


3

You can't, robots.txt is meant to be publicly accessible. If you want to hide content on your site you shouldn't try to do it with robots.txt, simply password protect any sensitive directories using .htaccess or similar.


2

I was having the same problem, and found a solution. Disable the following items: Cache public $ caching = ''; public $ cache_handler = 'file'; # (replace memcache, per file) public $ cachetime = '1600'; Memcache public $ memcached_persist = '0'; # I was in '1' Live Site public $ live_site = ''; # (remove the full domain name) Gzip public $ gzip = '...


2

You should probably look into the RokSprocket module. Make sure both Joomla and RokSprocket is up to date, and other extensions as well. If everything is up to date, try reinstalling RokSprocket. The RocketTheme forum might also be able to help


2

The Joomla .htaccess includes many rules to rewrite your urls and secure your website. You could copy them to your vhost configuration, but, frankly, I would'nt recommend it: for starters, it seems like the kind of job giving you no benefit at all. Then some rules may change when you perform an update, and then you'll have to edit your vhost config again.


2

As you are enabling compression of JavaScript and CSS files with Gzip. You need to make sure you have installed Apache module mod_deflate and the module is enabled. You can check this in phpinfo(); As enable of Gzip compression will add <IfModule mod_deflate.c> line to your .htaccess file. SO the module should be enabled to be used by Apache. You can ...


2

For website performance test you can use some online service like: http://www.webpagetest.org/ http://tools.pingdom.com/ https://gtmetrix.com/ https://developers.google.com/speed/pagespeed/insights/ For server/application you can try with one of this posible solutions: http://newrelic.com/php/joomla https://loadimpact.com/ Regards.


2

What is .htaccess? .htaccess is a configuration file for use on web servers running the Apache Web Server software. When a .htaccess file is placed in a directory which is in turn 'loaded via the Apache Web Server', then the .htaccess file is detected and executed by the Apache Web Server software. These .htaccess files can be used to alter the ...


2

The problem is likely your HTTPS redirect. You are likely redirecting to HTTPS at the beginning of your .htaccess file, and later redirecting to HTTP. Another scenario is when your Joomla website is set to use HTTPS, but there is a redirect to HTTP in the .htaccess file.


1

Your problems could be related to a number of reasons: PHP version (Joomla 2.5 is not built to run on PHP 7) Try to set your new server to PHP 5.6 This is often done through your cPanel, or ask your hosting provider. Error during transfer (missing or corrupt files) Try using Akeeba Backup for the transfer. Version 4.7.7 should work on Joomla 2.5. Old ...


1

Step 1: Just upload the upgrade package to the server via ftp or extract in cpanel file manager. Step 2: You will see an error after installation in the administration site only. Go to Extensions, Manage, Database and press "FIX" Button.


1

Changing Apache from port 80 to port 81, or anything else, should solve this issue without haveing to stop Apache.


1

Those 403 are on pages you are browsing, or for assets like css, js, images files etc? 403 error means, that access is forbidden for the requested file. Since you moved your site: Check your htaccess file for any possible required modifications, to match your site's new location. Those 403 errors, can be on requests for external to your joomla site ...


1

Since the error message is generated by Joomla, it's not an Apache error. Joomla reports that the requested view was not found. When an Url request is received, it's routed to the right component (view), and the rest of the associated modules are shown. If there's any misconfiguration in the generated Url, you get: Joomla Error : 500 View not found [name, ...


1

This appeared to be an error due to JoomFish Component. My lang was switched to the translated language (without knowing) and causing Error 500 (that I could solve by re-maping better migrated data in database, eww)... If I cleared my cookies, I would get the default language and the Error 500 would be gone ... Also, as I migrated from jUpgrade, that copies ...


1

use http://foreignsite.com instead of foreignsite.com


1

Other extensions that might be worth a look are those in the URL-Canonicalization category, for example, Canonical.


Only top voted, non community-wiki answers of a minimum length are eligible