Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2017-11-07, 21:27:19

Author Topic: HELP!!! Redirect Mendadak cp.domain.com dari URL_SEO  (Read 986 times)

0 Members and 1 Guest are viewing this topic.

Offline hieppies

  • Junior Member
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Kronologisnya gini  ;D:
misal url seo :
http://www.domain.com/cp-amel-couple-batik-murah-baju-sepasang-baju-pesta-1457915821.html

tiba-tiba kena redirect mendadak ke : cp.domain.com  :'(

Gimana cara bypassnya ato nonaktifin sementara ini redirect?... :'( :'( :'( :'( :'(
« Last Edit: 2016-03-07, 07:02:43 by hieppies »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: HELP!!! Redirect Mendadak cp.domain.com dari URL_SEO
« Reply #1 on: 2016-03-07, 07:24:13 »
Infokan 'sh /script/sysinfo' dulu.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline hieppies

  • Junior Member
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Re: HELP!!! Redirect Mendadak cp.domain.com dari URL_SEO
« Reply #2 on: 2016-03-07, 07:27:12 »
Ini Om, dari "sysinfo":
Quote
A. Control Panel:
   - Kloxo-MR: 7.0.0.b-2016030202
   - Web: hiawatha-10.1.0-f.6.mr.el6.x86_64
   - PHP: php54s-5.4.45-1.ius.el6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.7 (Final) x86_64
   - Hostname: cakep.omjoni.com
C. Services:
   1. MySQL: MariaDB-server-10.0.24-1.el6.x86_64
   2. PHP:
      - Branch: php54-cli-5.4.45-1.ius.el6.x86_64
      - Multiple:
        * php53m-5.3.29-1.ius.el6
        * php54m-5.4.45-1.ius.el6
      - Used: php54m
   3. Web Used: nginxproxy
     - Hiawatha: --unused--
     - Lighttpd: --uninstalled--
     - Nginx: nginx-1.9.12-1.el6.ngx.x86_64
     - Httpd: httpd24u-2.4.18-1.ius.el6.x86_64
       - PHP Type: php-fpm_event
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: bind
     - Bind: bind-9.9.7-1.mr.el6.x86_64
     - DJBDns: --uninstalled--
     - NSD: --uninstalled--
     - PowerDNS: --uninstalled--
     - Yadifa: --uninstalled--
   6. Mail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - pop3/imap4: courier-imap-toaster-4.1.2-1.3.18.mr.el6.x86_64
      - spam: bogofilter
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:          3830       1253       2576        477         38        760
   -/+ buffers/cache:        454       3375
   Swap:          767          7        760
E. Disk Space:
   Filesystem      Size  Used Avail Use% Mounted on
   /dev/vda1        49G  5.7G   41G  13% /


*** Process Time: 00:00:00:06.6115 (dd:hh:mm:ss:xxxxxx) ***

* Note: run 'sh /script/sysinfo -y' if you want run 'fix-service-list' also
        (importance after Kloxo-MR update)
« Last Edit: 2016-03-07, 07:28:46 by hieppies »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: HELP!!! Redirect Mendadak cp.domain.com dari URL_SEO
« Reply #3 on: 2016-03-07, 07:39:18 »
Coba anda copy '/opt/configs/nginx/conf/globals/generic.conf' ke 'custom.generic.conf' and kemudian edit 'custom' file ini dengan mengganti 'rewrite ^/cp(/|)(.*)' ke 'rewrite ^/cp(/|)'. Kemudian lakukan 'sh /script/fixweb; sh /script/restart-web -y'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline hieppies

  • Junior Member
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Re: HELP!!! Redirect Mendadak cp.domain.com dari URL_SEO
« Reply #4 on: 2016-03-07, 08:01:32 »
Udah ane rubah di custom.generic.conf:
Masih tetep ke redirect, om...  :'(  :'(  :'(

link : http://www.omjoni.com/cp-line-black-baju-couple-bagus-murah-1459133972.html

Tiap ada kata depan habis domain.com/cp-bla-bla.html musti ke redirect... :'(  :'(  :'(
« Last Edit: 2016-03-07, 08:07:42 by hieppies »

Offline hieppies

  • Junior Member
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Re: HELP!!! Redirect Mendadak cp.domain.com dari URL_SEO
« Reply #5 on: 2016-03-07, 09:22:34 »
Udah Solved agan Mustafa... :D
ane kasih tanda # untuk file-file berikut:
Quote
[root@test ~]# grep -r '/cp(/' /opt
/opt/configs/nginx/conf/globals/generic.conf:    #rewrite ^/cp(/|)(.*) http://cp.$var_domain/$1 permanent;
/opt/configs/hiawatha/conf/proxies/domain.com.conf:     #Match ^/cp(/|$) Redirect http://cp.domain.com/$1
/opt/configs/hiawatha/conf/domains/domain.com.conf:     #Match ^/cp(/|$) Redirect http://cp.domain.com/$1
/opt/configs/hiawatha/tpl/domains.conf.tpl:     #Match ^/cp(/|$) Redirect http://cp.<?php echo $domainname; ?>/$1

[root@test ~]# grep -r '/cp(/' /usr
/usr/local/lxlabs/kloxo.2016-03-05-23-42-12/file/nginx/conf/globals/generic.conf:    #rewrite ^/cp(/|)(.*) http://cp.$var_domain/$1 permanent;
/usr/local/lxlabs/kloxo.2016-03-05-23-42-12/file/hiawatha/tpl/domains.conf.tpl: #Match ^/cp(/|$) Redirect http://cp.<?php echo $domainname; ?>/$1
/usr/local/lxlabs/kloxo/file/nginx/conf/globals/generic.conf:    #rewrite ^/cp(/|)(.*) http://cp.$var_domain/$1 permanent;
/usr/local/lxlabs/kloxo/file/hiawatha/tpl/domains.conf.tpl:     #Match ^/cp(/|$) Redirect http://cp.<?php echo $domainname; ?>/$1

Trus cache browsernya di Clear... Beres.. ;D
Makasih banyak Om.. ;D
« Last Edit: 2016-03-07, 09:25:47 by hieppies »

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine

Page created in 0.032 seconds with 18 queries.

web stats analysis
 
Mirror created by MasterkinG32.CoM