Advertisement:

Author Topic: Moving URL to new subdomain: Need HELP  (Read 228023 times)

osCanyon

  • Hero Member
  • *****
  • Posts: 701
  • osCanyon, the class of Osclass
Re: Moving URL to new subdomain: Need HELP
« Reply #15 on: August 04, 2013, 02:27:46 am »
also I am getting returned to wheelmotors.com if I click the WNM Homepage text
so still a pathing trouble
did you in fact create a subdomain thru your control panel?
ALSO
disable and re enable your permalinks
« Last Edit: August 04, 2013, 03:51:41 am by DigitalConcepts »

stanjohn123

  • Jr. Member
  • **
  • Posts: 76
Re: Moving URL to new subdomain: Need HELP
« Reply #16 on: August 04, 2013, 08:28:59 am »
also I am getting returned to wheelmotors.com if I click the WNM Homepage text
so still a pathing trouble
did you in fact create a subdomain thru your control panel?
ALSO
disable and re enable your permalinks

I put www also , its still not working. When I type the old link it redirects me still to http://www.classifieds.wheelnmotor.com/classifieds/ , I think we just have to do one more small tweak to the config.php file and this will work.

The WNM home text page was intended to go to wheelnmotors.com , I set that in OSclass like that, no issues there. I don't think that is causing this problem.

stanjohn123

  • Jr. Member
  • **
  • Posts: 76
Re: Moving URL to new subdomain: Need HELP
« Reply #17 on: August 04, 2013, 08:39:28 am »
I actually think I made a mistake in my .htaccess file while enabling permalinks , maybe you can have a look at my code for that. Something could be wrong there too.

Code: [Select]
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

and the error page I now get is different. Please see attached.
« Last Edit: August 04, 2013, 08:51:50 am by stanjohn123 »

osCanyon

  • Hero Member
  • *****
  • Posts: 701
  • osCanyon, the class of Osclass
Re: Moving URL to new subdomain: Need HELP
« Reply #18 on: August 04, 2013, 09:45:26 am »
not getting that, disable permalinks please
actually everything seems ok
except the wheelmotor.com/classifieds

stanjohn123

  • Jr. Member
  • **
  • Posts: 76
Re: Moving URL to new subdomain: Need HELP
« Reply #19 on: August 04, 2013, 10:15:42 am »
not getting that, disable permalinks please
actually everything seems ok
except the wheelmotor.com/classifieds

Disabled permalinks. It's working now but URL is showing http://www.classifieds.wheelnmotor.com/classifieds still.

Also just note to get to the classifieds home page just click the logo. I know its not user friendly so will change later

osCanyon

  • Hero Member
  • *****
  • Posts: 701
  • osCanyon, the class of Osclass
Re: Moving URL to new subdomain: Need HELP
« Reply #20 on: August 04, 2013, 10:36:11 am »
odd, still goes to the site but adds the extra classifieds at the end ???
so you in fact created a "subdomain' thru the control panel?

stanjohn123

  • Jr. Member
  • **
  • Posts: 76
Re: Moving URL to new subdomain: Need HELP
« Reply #21 on: August 04, 2013, 01:23:38 pm »
odd, still goes to the site but adds the extra classifieds at the end ???
so you in fact created a "subdomain' thru the control panel?

Yes I created the subdomain through the control panel only. Is this something to do with my host ? If you want I can request them to look into it. I am paying them for their service anyways.

osCanyon

  • Hero Member
  • *****
  • Posts: 701
  • osCanyon, the class of Osclass
Re: Moving URL to new subdomain: Need HELP
« Reply #22 on: August 04, 2013, 05:13:02 pm »
tis a puzzle lol
whats left in your .htaccess file?
Im wondering if......... ???
if its still as was, try to rename it, just add an extra  . to the front or something
asking the host isnt a bad idea but then you may not know the reason if they fix, I am that sort of person that likes to solve the issue or at least know what was the culprit   ::)

stanjohn123

  • Jr. Member
  • **
  • Posts: 76
Re: Moving URL to new subdomain: Need HELP
« Reply #23 on: August 05, 2013, 12:58:12 am »
Hi DC,

     When I remove permalinks it automatically deletes the .htaccess file. Is this normal ?

      You got me this far. I'm ready to do whatever you say. If you want to find out what the actual problem is just tell me and I won't contact my host until you find out the problem :-)

osCanyon

  • Hero Member
  • *****
  • Posts: 701
  • osCanyon, the class of Osclass
Re: Moving URL to new subdomain: Need HELP
« Reply #24 on: August 05, 2013, 01:31:35 am »
Quote
  When I remove permalinks it automatically deletes the .htaccess file. Is this normal ?
I would hope not, would if I had some special cool  8) code in there, like to speed p my site, and then found it all missing?

but this may be an issue that only the host can solve, whenever I make a sub-domain and the folder was already there, it just does its dns thing and everything is ok, but yours is acting like it sees the sub-domain and the folder as if they were separate,
check spelling on the folder, by chance there isnt two folders, are there?

stanjohn123

  • Jr. Member
  • **
  • Posts: 76
Re: Moving URL to new subdomain: Need HELP
« Reply #25 on: August 05, 2013, 08:28:40 am »
Quote
  When I remove permalinks it automatically deletes the .htaccess file. Is this normal ?
I would hope not, would if I had some special cool  8) code in there, like to speed p my site, and then found it all missing?

but this may be an issue that only the host can solve, whenever I make a sub-domain and the folder was already there, it just does its dns thing and everything is ok, but yours is acting like it sees the sub-domain and the folder as if they were separate,
check spelling on the folder, by chance there isnt two folders, are there?

There is just one folder named classifieds, nothing else.

Is there a problem for my site if it runs without .htaccess ? If yes , can you please provide me with the code for .htaccess as I think I did not take back up of that file :-( .Because if I turn OFF permalinks the .htaccess file is getting deleted. The .htaccess file however comes automatically if permalinks is ON but the code in it is not the same as before.

I will just have a chat with my host and see if they can do something about the URL issue and keep you updated.

stanjohn123

  • Jr. Member
  • **
  • Posts: 76
Re: Moving URL to new subdomain: Need HELP
« Reply #26 on: August 06, 2013, 01:43:00 am »
So I spoke to my host and they tried as much as they could but could not redirect my old URL to the new subdomain properly i.e without the /classifieds part attaching to the subdomain. They said the issue has to be with .htaccess file or a php file. So this is how my .htaccess file looks like right now ( It just came back miraculously when my host was working on redirection ) , see if you can modify anything on this.

Code: [Select]
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
</IfModule>

Diviyah

  • Newbie
  • *
  • Posts: 17
Re: Moving URL to new subdomain: Need HELP
« Reply #27 on: June 17, 2014, 07:06:01 am »
Osclass takingcare of url redirect from city subcategary to city subdomain. If you have question to setup the subdomain using osclass let me know. Subdomain works like charm in classified website http://adzhome.com