Hot answers tagged

14

In your header you have a canonical link (on line 11, just under <title>). It looks like this on your page: <link href="http://escene.ir/component/products/?task=view.12" rel="canonical" /> This element tells Google your preferred URL for a page which has several urls to choose from. This is to prevent you from being penalized for having ...


8

Both Joomla's and Drupal's admin sections aren't great, but Joomla will be much easier to manage, for both you and your end user. Drupal's admin just isn't intuitive by any sense of the word. They're trying to fix it for Drupal 7, but I have my doubts about its effectiveness. Wordpress is by far the easiest to manage. All of the communities are large and ...


8

Robots.txt is not used for preventing users to browse directories. Directory browsing is handled by the web server settings. All robots.txt does is asking search engines to not index the content within the directories that you specify.


7

You are definitely hacked, hackers recently have been employing methods which make the site appear normal to a direct user, but when coming from Google will redirect to their website. You basically need to change all your passwords, and then sift through your code. As your tags state you're using joomla you should be able to replace all the joomla core ...


6

Google just wrote a blog post that should answer your question very well Q: Do the 404 errors reported in Webmaster Tools affect my site’s ranking? A: 404s are a perfectly normal part of the web; the Internet is always changing, new content is born, old content dies, and when it dies it (ideally) returns a 404 HTTP response code. ...


6

Not sure if you want to redirect only 144=>1556 or it is just an example. Anyway you can try this: Options +FollowSymlinks -MultiViews RewriteEngine On RewriteCond %{QUERY_STRING} (^|&)id=144(&|$) [NC] RewriteRule ^(index\.php)/?$ /$1?id=1556 [NC,R,L] Explanation: RewriteCond is making sure there is id=144 in query string RewriteRule is ...


5

It's highly dependent on your hosting provider. I they allow you to use FTP you just upload your theme and select it under Joomla control panel.


5

Start from Scratch If you have a recent database and files copy nuke all and start all over again. This is truly the best way there is when you have been hacked in a massive way. No Good Backups Most of the time there is no good backup in my experience. And I guess you do not either. If you did a scan with ClamAV and or online scans with sites like ...


4

You don't specify which version of Joomla! you're using but in general you can specify the template in use two ways. First off you can specify the default template via the "Template Manager" - this is the same in both 1.5.x and the 2.5 series of Joomla! The second option is that you can specify a particular template to be used for a particular menu item. ...


4

Assuming you don't want to use a specific Classified Ads Content Management System, I think that at this point you should consider Drupal as well. Drupal is very effective on user/permission management by default, and Drupal 7 already allows custom content types by default. There's even a module for that: http://drupal.org/project/ed_classified and ...


4

Your regular expression has the following problems: It only has .* for the "site" and "sectionname", but is missing one for the "categoryname". Based on your example, there should be a third directory level in your regex. You have parenthesis around items which you don't need to reference, but no parenthesis around the ID, which you will need to ...


4

If you are using Wordpress now, and simply trying to redirect old Joomla urls to your new urls I suggest using a plugin to make your life easier. I recommend this plugin a lot: http://wordpress.org/extend/plugins/redirection/ Also keep in mind that you should use fancy permalinks within Wordpress instead of the standard ID numbers. You can find this ...


4

I agree mostly with all the above answered. Yet so, will add some bits: During some time, was said Drupal was sort of preferred by people wanting more control over html and css, and Joomla being easier for the non coder people. These things are often little more than rumors, but was said by many. As softwares evolve, these situations change drastically, ...


4

Can I use the same MySQL database which is being used for joomla site? Of course. There is no technical reason why you can't. As long as there is no conflict in table names, which as you noted can be overcome with table prefixes, they can happily coincide. Is this a good practical decision for a small site? Sure. This is quite common. However, if ...


4

I'm assuming that the bind.php file is not actually a part of Joomla, but rather a malicious script that the hacker uploaded to your site. In particular, just looking at the request parameters, it appears likely that the script is being used to send e-mail spam, possibly using someone else's hijacked e-mail account. Here's what the request parameters in ...


4

I guess a 301 redirect is certainly not an option since the whole site structure will be different. But if you are coming from Joomla to WordPress, the site structure will be predictably different and thus 301 redirects are both feasible and desired. As you can see in this other question, it doesn't have to be all that complicated of a rule to ...


3

You can specify page titles in "Parameters (System)" in the menu item. Joomla 1.5.9 is very old now and you should at least update to Joomla 1.5.26 and install applicable Security hotfixes for Joomla EOL versions. Ideally you should be thinking about migrating to Joomla 2.5 or Joomla 3.2.


3

You've made the redirect correctly. It works well. However you must wait until Google recrawl and reindex it before it appears on search results.


3

User agent wget Blocking the user agent wget will block operating systems that use wget to download files within the terminal i.e Linux, MacOS, Arm etc. This will block every file from being downloaded using wget example.pdf. But why block wget? There's no right or wrong to this question but generally webmasters want site visitors actually visiting their ...


3

Honestly you are better off removing everything from your robots.txt. As far as I can see, all PHP files in Joomla contain the line defined('_JEXEC') or die; Which means if you load a PHP file directly in the browser all you get is a blank file, which search engines will ignore. (They shouldn't ever come across these anyway unless you linked them ...


3

I don't know much about the newest versions of joomla, but looking this up on the web shows that some features of the admin portal are hard-coded to the default admin URL. People recommend password protecting the admin directory through .htaccess for better security. The other option is to use extensions, but as a general rule I hate using extensions to ...


3

You are 303 redirecting to a login page which then redirects back: $ curl --head http://gsa.ece.umd.edu/ HTTP/1.1 303 See other Date: Sun, 25 May 2014 10:45:59 GMT Server: Apache/2.2.25 (Unix) mod_ssl/2.2.25 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 X-Powered-By: PHP/5.4.21 Set-Cookie: c32b08af5ad5c16062381828f6a1b64e=6d66a9870a7067c444930d8deb190cd9; ...


3

Your web server contains a configuration file with a configuration that directs traffic from certain sources to pages with the suspicious script. If you're using apache, start with the .htaccess files in your document root folder and every folder recursively within it. Look for any lines containing "user_agent" or "remote_addr" or even google or other ...


3

Under Help > System Info > Directory Permissions, make sure all the folders listed are writeable, particulaly the tmp and components folders. On the "PHP Information" tab, make sure it lists some form of ZIP support appropriate to the file you're upload (e.g. 'zip' or 'gzip'). The most common reason for 500 errors though is a misconfigured .htaccess file. ...


3

This should do it RewriteRule ^(.*)/(.*)/[0-9]\-(.*)$ http://yoursite.com/$1/$2/$3


3

Artisteer is not good enough. You cannot get the original look. It is better to manually convert the theme. Take any Drupal 7 framework like Zen and Genesis Style the CSS using the Joomla/WordPress style sheet. Use the same design elements that are used in the old theme. Use some Modules like Views and Panels to get the teasers on the front page. If you ...


3

It's a tough one to answer since you may need better hosting no matter what you do due to the sheer amount of visitors you have at once. But just like a car if you want to make it faster you throw out things you don't need which add weight to the car, by removing the weight you go faster. So you really want to focus on reducing requests on your server by ...


3

To do this in Joomla 2.5 do the following steps: Login to the Joomla backend using your administrator account Click menu manager Click Main Menu Click on Home and take note of the menu ID. Then add the following code to template's index.php file, before <jdoc:include type="head" /> (note that in the example below, 101 should be replaced ...



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