Page 1 of 1

Website redirecting

Posted: Wed May 16, 2018 11:21 am
by zaaanck
Hello, yesterday I posted a topic about forced www prefix in the url: viewtopic.php?f=706&t=962032

Now today, I created a new localhost website, this time slowly copying the files, and I've noticed the problem is in the components com_sef and com_redirect. Website url was loaded normally but it displayed a http 500 error, but after I added back these 2 components the url changes to www.

Any idea how I could change this? Should I post the FPA for this?

Re: Website redirecting

Posted: Wed May 16, 2018 11:41 am
by Webdongle
Use https://extensions.joomla.org/extension/akeeba-backup/ to backup and move your site. Whn restoring choose to use the standard htaccess file.

Re: Website redirecting

Posted: Wed May 16, 2018 11:51 am
by zaaanck
Hello! Thank you for the quick response. May I also add I copied a live site to my localhost, for testing and stuff so I don't mess with the live site, httpdocs folder + database.

As for the Akeeba, I made a backup on the live site and downloaded it, but I don't know how to upload this backup to my localhost copy, even if I manually place the live backup to my copy backup folder, it doesn't show.

Sorry if I wrote a confusing sentence

Re: Website redirecting

Posted: Wed May 16, 2018 12:37 pm
by toivo
zaaanck wrote:I don't know how to upload this backup
Use the Kickstart utility and follow this tutorial: https://www.akeebabackup.com/documentat ... start.html

Re: Website redirecting

Posted: Wed May 16, 2018 12:39 pm
by zaaanck
Okay, I will report back tomorrow morning, as I am leaving the office for today, thank you

Re: Website redirecting

Posted: Thu May 17, 2018 6:10 am
by zaaanck
Hello, now the problem I have is the site's backup is almost 5gb, so the backup downloads in 3 parts and in kickstart I can only choose 1

Re: Website redirecting

Posted: Thu May 17, 2018 6:56 am
by toivo
Kickstart can process large backup files, split by Akeeba Backup into several parts, perfectly all right. Are you using the latest version of Akeeba Backup and Kickstart?

Re: Website redirecting

Posted: Thu May 17, 2018 7:41 am
by zaaanck
Yeah I figured it out now.. But unfortunately the problem didn't go away

Re: Website redirecting

Posted: Thu May 17, 2018 7:51 am
by toivo
Have you configured proper virtual hosts in Apache or does your site rely on the alias feature of Wampserver?

Which version of Wampserver are you using?

If the prefix www is added to the URL and it happens only on your localhost test site, is that a real problem if that does not happen in your live site?

Re: Website redirecting

Posted: Thu May 17, 2018 8:05 am
by zaaanck
Yep I was already on the wamp forum asking about this and they said this is a joomla thing, I showed them my virtual hosts settings and everything is correct. So virtual hosts are working.

I am using the latest version 3.1.3 64bit.

Prefix is added on the live site too, but the site still loads.. here on localhost I just get an error. I've been asking and looking for 2 days and I still have no idea how to fix it.

Re: Website redirecting

Posted: Thu May 17, 2018 9:13 am
by toivo
zaaanck wrote:Prefix is added on the live site too
Then it looks like the prefix is added by something in the configuration of the live site, which was subsequently migrated to the localhost.

Code: Select all

	public $live_site = '';
Is the entry $live_site in the file configuration.php empty, as it should be?

If you want to find out what causes the HTTP 500 errors, select 'Maximum' as the error reporting option in Global Configuration - Server - Server Settings. Make sure that the following entries are set in the php.ini file in the bin folder of Apache:

Code: Select all

log_errors = On
error_log ="c:/wamp64/logs/php_error.log"
If you modify the php.ini file, remember to restart Apache. The PHP error log should now show the error message with a line number and the name of the PHP script, possibly also some lines of debug information.

Re: Website redirecting

Posted: Thu May 17, 2018 9:36 am
by zaaanck
live_site is empty yes.

Ok I did that and checked the error log, but it has 433 lines

These are the headlines of the errors:

Deprecated: iconv_set_encoding(): Use of iconv.internal_encoding is deprecated in C:\wamp64\www\kopijastran\libraries\joomla\string\string.php on line 28

Deprecated: iconv_set_encoding(): Use of iconv.input_encoding is deprecated in C:\wamp64\www\kopijastran\libraries\joomla\string\string.php on line 29

Deprecated: iconv_set_encoding(): Use of iconv.output_encoding is deprecated in C:\wamp64\www\kopijastran\libraries\joomla\string\string.php on line 30

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at C:\wamp64\www\kopijastran\libraries\joomla\string\string.php:28) in C:\wamp64\www\kopijastran\libraries\joomla\session\session.php on line 532

Strict standards: Declaration of JRouterJoomsef::parse() should be compatible with JRouter::parse(&$uri) in C:\wamp64\www\kopijastran\components\com_sef\sef.router.php on line 73

Strict standards: Declaration of JRouterJoomsef::build() should be compatible with JRouter::build($url) in C:\wamp64\www\kopijastran\components\com_sef\sef.router.php on line 73

Deprecated: Non-static method SEFConfig::getConfig() should not be called statically, assuming $this from incompatible context in C:\wamp64\www\kopijastran\plugins\system\joomsef\joomsef.php on line 40

Strict standards: Only variables should be passed by reference in C:\wamp64\www\kopijastran\plugins\system\joomsef\joomsef.php on line 160

Strict standards: Only variables should be assigned by reference in C:\wamp64\www\kopijastran\plugins\system\offlajnparams\offlajnparams.php on line 49

Strict standards: Only variables should be assigned by reference in C:\wamp64\www\kopijastran\plugins\system\sticky_toolbar\sticky_toolbar.php on line 24

Strict standards: Only variables should be assigned by reference in C:\wamp64\www\kopijastran\plugins\system\sticky_toolbar\sticky_toolbar.php on line 26

Deprecated: Non-static method DojoLoader::r() should not be called statically, assuming $this from incompatible context in C:\wamp64\www\kopijastran\plugins\system\sticky_toolbar\sticky_toolbar.php on line 28

Deprecated: Non-static method DojoLoader::getInstance() should not be called statically, assuming $this from incompatible context in C:\wamp64\www\kopijastran\plugins\system\dojoloader\loader.php on line 53

Deprecated: Non-static method DojoLoader::addScriptFile() should not be called statically, assuming $this from incompatible context in C:\wamp64\www\kopijastran\plugins\system\sticky_toolbar\sticky_toolbar.php on line 30

Deprecated: Non-static method DojoLoader::getInstance() should not be called statically, assuming $this from incompatible context in C:\wamp64\www\kopijastran\plugins\system\dojoloader\loader.php on line 73

Deprecated: Non-static method DojoLoader::addScript() should not be called statically, assuming $this from incompatible context in C:\wamp64\www\kopijastran\plugins\system\sticky_toolbar\sticky_toolbar.php on line 38

Deprecated: Non-static method DojoLoader::getInstance() should not be called statically, assuming $this from incompatible context in C:\wamp64\www\kopijastran\plugins\system\dojoloader\loader.php on line 61

Deprecated: Non-static method DojoLoader::getInstance() should not be called statically, assuming $this from incompatible context in C:\wamp64\www\kopijastran\plugins\system\dojoloader\dojoloader.php on line 27

Re: Website redirecting

Posted: Thu May 17, 2018 10:07 am
by toivo
Please follow the instructions for the Forum Post Assistant (FPA) at viewtopic.php?f=714&t=793531 and post the output so that others can see from the configuration if something explains the anomaly.

The error log already shows several issues:
1) the site is not using the latest version of Joomla, v3.8.7
- 3.8.7 does not use the PHP function iconv.internal_encoding, deprecated in PHP 5.6
2) several outdated extensions may not run properly under PHP 7
- JoomSEF, Offlajn menu module with the Dojo Loader and Sticky Toolbar plugins

Re: Website redirecting

Posted: Thu May 17, 2018 10:12 am
by bazingoinc
There are 2 types of redirection. 301 or 302 what kind of redirection you want in your website?

Re: Website redirecting

Posted: Thu May 17, 2018 10:17 am
by toivo
bazingoinc wrote:There are 2 types of redirection. 301 or 302 what kind of redirection you want in your website?
Please read the topic first and try to understand the question before addressing just one word from the subject line.

Re: Website redirecting

Posted: Thu May 17, 2018 10:18 am
by zaaanck
@toivo
Okay, will post it, in the meantime to answer you:

1) Yeah, site is using version 2.5.22, that is the reason I wanted to make a copy first on localhost so I can test the upgrade and see what is working and what isn't, before applying the updates to the live website

2) When I go under php section in Wamp it says it's using the version 5.6.31 though, not 7

Re: Website redirecting

Posted: Thu May 17, 2018 10:28 am
by zaaanck
Problem Description :: Forum Post Assistant (v1.3.9) : 17th May 2018 wrote:redirected to www. prefix
Last PHP Error(s) Reported :: Forum Post Assistant (v1.3.9) : 17th May 2018 wrote:[17-May-2018 09:20:45 UTC] PHP 7. plgSystemDojoloader->onAfterRender() C:\wamp64\www\kopijastran\libraries\joomla\event\event.php:71
Forum Post Assistant (v1.3.9) : 17th May 2018 wrote:
Basic Environment :: wrote:Joomla! Instance :: Joomla! 2.5.22-Stable (Ember) 12-June-2014
Joomla! Platform :: Joomla Platform 11.4.0-Stable (Brian Kernighan) 03-Jan-2012
Joomla! Configured :: Yes | Writable (666) | Owner: --protected-- . (uid: /gid: ) | Group: --protected-- (gid: ) | Valid For: 2.5
Configuration Options :: Offline: 0 | SEF: 1 | SEF Suffix: 0 | SEF ReWrite: 1 | .htaccess/web.config: Yes | GZip: 0 | Cache: 0 | CacheTime: 30 | CacheHandler: file | CachePlatformPrefix: N/A | FTP Layer: 0 | Proxy: N/A | LiveSite: | Session lifetime: 30 | Session handler: database | Shared sessions: N/A | SSL: 0 | FrontEdit: N/A | Error Reporting: maximum | Site Debug: 0 | Language Debug: 0 | Default Access: 1 | Unicode Slugs: 0 | dbConnection Type: mysql | Database Credentials Present: Yes

Host Configuration :: OS: Windows NT | OS Version: 10.0 | Technology: AMD64 | Web Server: Apache/2.4.27 (Win64) | Encoding: gzip, deflate | Doc Root: --protected-- | System TMP Writable: Yes | Free Disk Space : 39.38 GiB |

PHP Configuration :: Version: 5.6.31 | PHP API: apache2handler | Session Path Writable: Yes | Display Errors: | Error Reporting: 32767 | Log Errors To: c:/wamp64/logs/php_error.log | Last Known Error: 17th May 2018 09:20:45. | Register Globals: | Magic Quotes: | Safe Mode: | Open Base: | Uploads: 1 | Max. Upload Size: 100M | Max. POST Size: 1024M | Max. Input Time: 600 | Max. Execution Time: 600 | Memory Limit: 1024M

MySQL Configuration :: Version: 5.7.19 (Client:mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $) | Host: --protected-- (--protected--) | Collation: utf8_general_ci (Character Set: utf8) | Database Size: 35.66 MiB | #of Tables:  211
Detailed Environment :: wrote:PHP Extensions :: Core (5.6.31) | bcmath () | calendar () | ctype () | date (5.6.31) | ereg () | filter (0.11.0) | ftp () | hash (1.0) | iconv () | json (1.2.1) | mcrypt () | SPL (0.2) | odbc (1.0) | pcre () | Reflection ($Id: 5f15287237d5f78d75b19c26915aa7bd83dee8b8 $) | session () | standard (5.6.31) | mysqlnd (mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $) | tokenizer (0.1) | zip (1.12.5) | zlib (2.0) | libxml () | dom (20031129) | PDO (1.0.4dev) | bz2 () | SimpleXML (0.1) | wddx () | xml () | xmlreader (0.1) | xmlwriter (0.1) | apache2handler () | openssl () | curl () | com_dotnet (0.1) | fileinfo (1.0.5) | gd () | gettext () | gmp () | intl (1.1.0) | imap () | ldap () | mbstring () | exif (1.4 $Id: 1c8772f76be691b7b3f77ca31eb788a2abbcefe5 $) | mysql (1.0) | mysqli (0.1) | Phar (2.0.2) | pdo_mysql (1.0.2) | pdo_sqlite (1.0.1) | soap () | sockets () | sqlite3 (0.7-dev) | xmlrpc (0.51) | xsl (0.1) | mhash () | Zend OPcache (7.0.6-devFE) | xdebug (2.5.5) | Zend Engine (2.6.0) |
Potential Missing Extensions :: suhosin |

Switch User Environment (Experimental) :: PHP CGI: No | Server SU: No | PHP SU: No | Custom SU (LiteSpeed/Cloud/Grid): Yes
Potential Ownership Issues: No

Apache Modules :: core | mod_win32 | mpm_winnt | http_core | mod_so | mod_access_compat | mod_actions | mod_alias | mod_asis | mod_auth_basic | mod_auth_digest | mod_authn_core | mod_authn_file | mod_authz_core | mod_authz_groupfile | mod_authz_host | mod_authz_user | mod_autoindex | mod_cache | mod_cache_disk | mod_cgi | mod_dir | mod_env | mod_file_cache | mod_include | mod_isapi | mod_log_config | mod_mime | mod_negotiation | mod_rewrite | mod_setenvif | mod_userdir | mod_vhost_alias | mod_php5 | Apache/2.4.27 (Win64) |
Potential Missing Modules :: mod_expires | mod_deflate | mod_security | mod_evasive | mod_dosevasive | mod_ssl | mod_qos | mod_userdir |
Folder Permissions :: wrote:Core Folders :: images/ (777) | components/ (777) | modules/ (777) | plugins/ (777) | language/ (777) | templates/ (777) | cache/ (777) | logs/ (777) | tmp/ (777) | administrator/components/ (777) | administrator/modules/ (777) | administrator/language/ (777) | administrator/templates/ (777) | administrator/logs/ (---) |

Elevated Permissions (First 10) :: administrator/ (777) | administrator/cache/ (777) | administrator/components/ (777) | administrator/components/com_acymailing/ (777) | administrator/components/com_acymailing/buttons/ (777) | administrator/components/com_acymailing/classes/ (777) | administrator/components/com_acymailing/controllers/ (777) | administrator/components/com_acymailing/extensions/ (777) | administrator/components/com_acymailing/extensions/mod_acymailing/ (777) | 2018/ (777) |
Database Information :: wrote:Database statistics :: Uptime: 2483 | Threads: 1 | Questions: 19 | Slow queries: 0 | Opens: 323 | Flush tables: 1 | Open tables: 228 | Queries per second avg: 0.007 |
Extensions Discovered :: wrote:Components :: SITE :: com_mailto (2.5.0) 1 | Banners (3.0.3) 1 | Contacts (3.0.3) 1 | Content (3.0.8) 1 | Mail To (3.0.1) 1 | NewsFeeds (3.0.3) 1 | Phoca Maps (3.0.0) 1 | Search (3.0.4) 1 | Tags (3.0.0) 1 | Users (3.0.3) 1 | VirtueMart (3.0.18) 1 | WebLinks (3.0.4) 1 | Wrapper (3.0.3) 1 | com_wrapper (2.5.0) 1 |
Components :: ADMIN :: AcyMailing (3.6.0) 1 | AcyMailing Module (3.6.0) 1 | AcyMailing : trigger Joomla Co (3.6.0) 1 | AcyMailing Manage text (1.0.0) 1 | AcyMailing Tag : Website links (3.6.0) 1 | AcyMailing : share on social n (1.0.0) 1 | AcyMailing : Statistics Plugin (3.6.0) 1 | AcyMailing table of contents g (1.0.0) 1 | AcyMailing Tag : CB User infor (3.6.0) 1 | AcyMailing Tag : content inser (3.6.0) 1 | AcyMailing Tag : JomSocial Use (3.6.0) 1 | AcyMailing Tag : Insert a Modu (3.6.0) 1 | AcyMailing Tag : Subscriber in (3.6.0) 1 | AcyMailing Tag : Manage the Su (3.6.0) 1 | AcyMailing Tag : Date / Time (3.6.0) 1 | AcyMailing Tag : Joomla User I (3.6.0) 1 | AcyMailing Template Class Repl (3.6.0) 1 | AcyMailing : Handle Click trac (3.6.0) 1 | AcyMailing Tag : VirtueMart in (1.2.1) 1 | AcyMailing : (auto)Subscribe d (3.6.0) 1 | com_admin (2.5.0) 1 | aiContactSafe (2.0.19.stable) 1 | aiContactSafe (1.0.0) 1 | aiContactSafe module (1.0.13.stable) 1 | aiContactSafe - Form (1.0.15.stable) 1 | aiContactSafe - Link (1.0.10.stable) 1 | Akeeba (4.6.1) 1 | com_banners (2.5.0) 1 | com_cache (2.5.0) 1 | com_categories (2.5.0) 1 | com_checkin (2.5.0) 1 | com_config (2.5.0) 1 | com_content (2.5.0) 1 | com_cpanel (2.5.0) 1 | CSVI (5.15) 1 | com_finder (2.5.0) 1 | com_installer (2.5.0) 1 | com_joomlaupdate (2.5.0) 1 | com_languages (2.5.0) 1 | com_login (2.5.0) 1 | com_media (2.5.0) 1 | com_menus (2.5.0) 1 | com_messages (2.5.0) 1 | com_modules (2.5.0) 1 | com_newsfeeds (2.5.0) 1 | offlajn_installer (1.0) 1 | com_phocamaps (2.0.5) 1 | com_plugins (2.5.0) 1 | com_redirect (2.5.0) 1 | com_search (2.5.0) 1 | Content - ARTIO JoomSEF (4.0.0) 1 | Extension Install - ARTIO Joom (4.1.1) 1 | System - ARTIO JoomSEF (4.0.1) 1 | System - ARTIO JoomSEF Google (4.0.0) 1 | System Language - ARTIO JoomSE (4.1.0) 1 | System - ARTIO JoomSEFURL (4.0.0) 1 | com_sef (4.5.1) 1 | com_templates (2.5.0) 1 | com_users (2.5.0) 1 | ECB Currency Converter (1.0) 1 | VIRTUEMART (-) 1 | VirtueMart_allinone (2.6.22) 1 | com_weblinks (2.5.0) 1 | Widgetkit (1.4.7) 1 |

Modules :: SITE :: AcyMailing Module (3.6.0) 1 | mod_articles_archive (2.5.0) 1 | mod_articles_categories (2.5.0) 1 | mod_articles_category (2.5.0) 1 | mod_articles_latest (2.5.0) 1 | mod_articles_news (2.5.0) 1 | mod_articles_popular (2.5.0) 1 | mod_banners (2.5.0) 1 | mod_breadcrumbs (2.5.0) 1 | mod_custom (2.5.0) 1 | mod_feed (2.5.0) 1 | mod_finder (2.5.0) 1 | mod_footer (2.5.0) 1 | mod_languages (2.5.0) 1 | mod_login (2.5.0) 1 | mod_menu (2.5.0) 1 | Optimized FB Like Box (2.1.0) 1 | mod_random_image (2.5.0) 1 | mod_related_items (2.5.0) 1 | mod_search (2.5.0) 1 | mod_stats (2.5.0) 1 | mod_syndicate (2.5.0) 1 | mod_users_latest (2.5.0) 1 | Vertical Drop Menu (2.30) 1 | VirtueMart Shopping Cart (2.6.22) 1 | mod_virtuemart_category (2.6.22) 1 | mod_virtuemart_currencies (2.6.22) 1 | mod_virtuemart_manufacturer (2.6.22) 1 | mod_virtuemart_product (2.6.22) 1 | mod_virtuemart_product_sandi (2.0.26d) 1 | mod_virtuemart_search (2.6.22) 1 | mod_weblinks (2.5.0) 1 | mod_whosonline (2.5.0) 1 | Widgetkit (1.0.0) 1 | Widgetkit Twitter (1.0.0) 1 | mod_wrapper (2.5.0) 1 |
Modules :: ADMIN :: mod_custom (2.5.0) 1 | mod_feed (2.5.0) 1 | mod_latest (2.5.0) 1 | mod_logged (2.5.0) 1 | mod_login (2.5.0) 1 | mod_menu (2.5.0) 1 | mod_multilangstatus (2.5.0) 1 | mod_popular (2.5.0) 1 | mod_quickicon (2.5.0) 1 | mod_status (2.5.0) 1 | mod_submenu (2.5.0) 1 | mod_title (2.5.0) 1 | mod_toolbar (2.5.0) 1 | mod_version (2.5.0) 1 | VirtueMart Administrator Menu (2.6.22) 1 |

Re: Website redirecting

Posted: Thu May 17, 2018 10:37 am
by zaaanck
Plugins :: SITE :: AcyMailing : trigger Joomla Co (3.6.0) 1 | AcyMailing Manage text (1.0.0) 1 | AcyMailing Tag : Website links (3.6.0) 1 | AcyMailing : share on social n (1.0.0) 1 | AcyMailing : Statistics Plugin (3.6.0) 1 | AcyMailing table of contents g (1.0.0) 1 | AcyMailing Tag : CB User infor (3.6.0) 1 | AcyMailing Tag : content inser (3.6.0) 1 | AcyMailing Tag : JomSocial Use (3.6.0) 1 | AcyMailing Tag : Insert a Modu (3.6.0) 1 | AcyMailing Tag : Subscriber in (3.6.0) 1 | AcyMailing Tag : Manage the Su (3.6.0) 1 | AcyMailing Tag : Date / Time (3.6.0) 1 | AcyMailing Tag : Joomla User I (3.6.0) 1 | AcyMailing Template Class Repl (3.6.0) 1 | AcyMailing : Handle Click trac (3.6.0) 1 | AcyMailing Tag : VirtueMart in (1.2.1) 1 | plg_authentication_gmail (2.5.0) 0 | plg_authentication_joomla (2.5.0) 1 | plg_authentication_ldap (2.5.0) 0 | plg_captcha_recaptcha (2.5.0) 1 | AddToCart Content plugin for V (1.0) 1 | Catproduct Content plugin for (1.0) 1 | plg_content_emailcloak (2.5.0) 1 | plg_content_finder (2.5.0) 1 | plg_content_geshi (2.5.0) 0 | plg_content_joomla (2.5.0) 1 | Content - ARTIO JoomSEF (4.0.0) 1 | Simple Image Gallery (by Jooml (2.2) 1 | plg_content_loadmodule (2.5.0) 1 | plg_content_pagebreak (2.5.0) 1 | plg_content_pagenavigation (2.5.0) 1 | plg_content_vote (2.5.0) 1 | Content - Widgetkit (1.0.0) 1 | plg_editors_codemirror (1.0) 1 | plg_editors_tinymce (3.5.4.1) 1 | plg_editors-xtd_article (2.5.0) 1 | plg_editors-xtd_image (2.5.0) 1 | plg_editors-xtd_pagebreak (2.5.0) 1 | plg_editors-xtd_readmore (2.5.0) 1 | plg_extension_joomla (2.5.0) 1 | Extension Install - ARTIO Joom (4.1.1) 1 | plg_finder_categories (2.5.0) 1 | plg_finder_contacts (2.5.0) 1 | plg_finder_content (2.5.0) 1 | plg_finder_newsfeeds (2.5.0) 1 | plg_finder_weblinks (2.5.0) 1 | PLG_JMONITORING_AKEEBABACKUP_T (1.0) 1 | plg_quickicon_akeebabackup (1.0) 1 | plg_quickicon_extensionupdate (2.5.0) 1 | plg_quickicon_joomlaupdate (2.5.0) 1 | plg_search_categories (2.5.0) 1 | plg_search_contacts (2.5.0) 1 | plg_search_content (2.5.0) 1 | plg_search_newsfeeds (2.5.0) 1 | plg_search_virtuemart (2.6.22) 1 | plg_search_weblinks (2.5.0) 1 | plg_system_addfullajax (2012.06.03) 0 | AMAZON (2.6.22) 1 | PLG_SYSTEM_BACKUPONUPDATE_TITL (3.7) 1 | plg_system_cache (2.5.0) 0 | plg_system_debug (2.5.0) 1 | Offlajn Dojo Loader (1.0) 1 | Geolocator for VM (1.0.0) 1 | plg_system_highlight (2.5.0) 1 | System - ARTIO JoomSEF (4.0.1) 1 | System - ARTIO JoomSEF Google (4.0.0) 1 | System Language - ARTIO JoomSE (4.1.0) 1 | plg_system_languagecode (2.5.0) 0 | plg_system_languagefilter (2.5.0) 0 | plg_system_log (2.5.0) 1 | plg_system_logout (2.5.0) 1 | System - Offlajn Params (1.0.0) 1 | plg_system_p3p (2.5.0) 1 | Piškotki za Joomlo (1.0.0) 1 | plg_system_redirect (2.5.0) 1 | AcyMailing : (auto)Subscribe d (3.6.0) 1 | plg_system_remember (2.5.0) 1 | plg_system_sef (2.5.0) 1 | SocialSharePrivacy (1.1.16) 1 | Sticky toolbar - Offlajn.com (1.0.0) 1 | System - Widgetkit Joomla (1.0.0) 1 | System - Widgetkit (1.0.0) 1 | System - Widgetkit ZOO (3.1.0) 1 | plg_user_contactcreator (2.5.0) 0 | plg_user_joomla (2.5.0) 1 | plg_user_profile (2.5.0) 0 | VM - Calculation Avalara Tax (2.6.22) 1 | VMCustom - catproduct quantity (1.0.0) 1 | VM - Custom - Download (2.0.0) 1 | VM - Custom - Catproduct (2.0.10) 1 | VMCustom - dropbox (2.0) 1 | VMCustom - Easycheckbox (2.0) 1 | VMCustom - Easy Image (1.0.0) 1 | VM - Custom, Multiple Products (2.0.10) 1 | VMCustom - specification (2.6.22) 1 | Stockable (2.6.22) 1 | VMCUSTOM_STOCKABLEPRO (1.0) 1 | VMCustom - text input for Catp (2.0) 1 | VMCustom - textinput (2.6.22) 1 | AMAZON (2.6.22) 1 | Authorize.net AIM (2.6.22) 1 | Heidelpay (2.6.22) 1 | Klarna (2.6.22) 1 | Klarna Checkout (2.6.22) 1 | VM Payment - klikandpay (2.6.22) 1 | Moneybookers (2.6.22) 0 | Moneybookers Credit Cards (2.6.22) 1 | Moneybookers Lastschrift (2.6.22) 1 | Moneybookers Giropay (2.6.22) 1 | Moneybookers iDeal (2.6.22) 1 | Moneybookers Bank Transfer (2.6.22) 1 | Moneybookers Przelewy24 (2.6.22) 1 | Moneybookers Sofortueberweisun (2.6.22) 1 | Moneybookers Digital Wallet (2.6.22) 1 | VM Payment - Paybox (2.6.12.1) 0 | PayPal (2.6.22) 1 | VM - Payment, PayZen (2.0.8c) 1 | realex_hpp_api (2.6.22) 1 | Sofort (2.6.22) 1 | Sofort Ideal (2.6.22) 1 | Standard (2.6.22) 1 | VM - Payment, Systempay (2.0.8c) 1 | Weight Countries (2.6.22) 1 | Realex_hpp_api (2.6.22) 1 | [/size][/quote]
Templates Discovered :: wrote:Templates :: SITE :: atomic (2.5.0) 1 | beez5 (2.5.0) 1 | beez_20 (2.5.0) 1 | fullajax_tmpl (2011.08.06) 1 | yoo_balance (1.0.6) 1 | yoo_vida (1.0.0) 1 |
Templates :: ADMIN :: bluestork (2.5.0) 1 | hathor (2.5.0) 1 |
[/quote]

Re: Website redirecting

Posted: Thu May 17, 2018 10:55 am
by Webdongle
[quote zaaanck ]Hello, yesterday I posted a topic about forced www prefix in the url[/quote]
That is the cause not Joomla.

When you restored the site did you select to replace the .htaccess file with an original Joomla file?
try renaming the .htaccess file then log in to /administrator and set Rewrite to no. Or edit out the 'forced www' in the .htaccess


btw you will find it easier to use notepad++ to edit the file (or rename it back to .htaccess.

Re: Website redirecting

Posted: Thu May 17, 2018 11:05 am
by zaaanck
In the original joomla file there wasn't a .htaccess only htaccess.txt, but yes I replaced it.

I already tried changing the .htaccess settings but nothing helped. Set Rewrite to no.

Re: Website redirecting

Posted: Thu May 17, 2018 11:28 am
by toivo
What about the old version of ARTIO JoomSEF, could that be involved in the redirection to www?

Re: Website redirecting

Posted: Thu May 17, 2018 11:58 am
by zaaanck
I discovered something, which I am now fairly certain there is something messed up ARTIO JoomSEF or Wamp or something.. For some reason, site loads if I type: http://www.localhost/kopijastran/

BUT, I think there are some problems with joomla's landing pages because of the copy from the live site, whenever I go to some other section for example About the company I just get this ordinary HTML Wampserver homepage, because even If i type http://www.localhost/kopija/stran/ddhjsaidasdaid random gibberish it still points me to this page.. So I think joomla's landing pages can't point me to the right direction.. Am I onto something here? Do you maybe know how to fix this landing pages issue?

Re: Website redirecting

Posted: Thu May 17, 2018 12:49 pm
by zaaanck
Hello, okay so I found a fix for this.. It was the Artio JoomSEF component, go to JoomSEF Global Configuration, and set "www and non-www domain handling" to Always use non-www domain..

Thank you for your help

Re: Website redirecting

Posted: Thu May 17, 2018 1:53 pm
by Webdongle
JoomSEF is a big PITA. Even if unistalled it leaves cache that redirects pages.